Add stylelint
This commit is contained in:
parent
d6d5dea3f6
commit
4b3df0ee35
2 changed files with 15603 additions and 1 deletions
15594
package-lock.json
generated
15594
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -14,15 +14,23 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@wordpress/prettier-config": "^1.0.1",
|
||||
"@wordpress/scripts": "^14.0.1",
|
||||
"@wordpress/stylelint-config": "^19.0.1",
|
||||
"chokidar-cli": "^2.1.0",
|
||||
"husky": "^4.3.0",
|
||||
"lint-staged": "^10.5.4",
|
||||
"lodash": "^4.17.20"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "node pre-commit-hook.js"
|
||||
"pre-commit": "lint-staged && node pre-commit-hook.js"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{css,scss}": [
|
||||
"wp-scripts lint-style"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"wp-prettier": "^2.0.5"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue