mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore: update lint-stage
This commit is contained in:
parent
715cd58813
commit
fdbe51e7fa
1 changed files with 11 additions and 9 deletions
20
package.json
20
package.json
|
@ -201,15 +201,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.yaml": [
|
"linters": {
|
||||||
"prettier --parser yaml --no-config --single-quote --write",
|
"*.yaml": [
|
||||||
"git add"
|
"prettier --parser yaml --no-config --single-quote --write",
|
||||||
],
|
"git add"
|
||||||
"*": [
|
],
|
||||||
"eslint .",
|
"*": [
|
||||||
"prettier --write",
|
"eslint .",
|
||||||
"git add"
|
"prettier --write",
|
||||||
],
|
"git add"
|
||||||
|
]
|
||||||
|
},
|
||||||
"ignore": ["*.json"]
|
"ignore": ["*.json"]
|
||||||
},
|
},
|
||||||
"bundlesize": [
|
"bundlesize": [
|
||||||
|
|
Loading…
Reference in a new issue