mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 09:05:04 +08:00
👷 add lint script
This commit is contained in:
parent
50056228b6
commit
17ad11212e
@ -16,7 +16,9 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vuepress dev docs",
|
"dev": "vuepress dev docs",
|
||||||
"build": "vuepress build docs"
|
"build": "vuepress build docs",
|
||||||
|
"lint": "npx prettier -c docs/**/* !docs/api/**/*",
|
||||||
|
"lint:fix": "npx prettier --write docs/**/* !docs/api/**/*"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user