build: add additional stylelint rules
This commit is contained in:
parent
532cb85dee
commit
a8ee8bf8d9
3 changed files with 3359 additions and 853 deletions
|
@ -1,3 +1,18 @@
|
||||||
{
|
{
|
||||||
"extends": "stylelint-config-wordpress"
|
"extends": [
|
||||||
|
"stylelint-config-wordpress",
|
||||||
|
"stylelint-config-recommended",
|
||||||
|
"stylelint-a11y/recommended",
|
||||||
|
"stylelint-config-rational-order"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
"stylelint-scss",
|
||||||
|
"stylelint-a11y",
|
||||||
|
"stylelint-order"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"at-rule-no-unknown": null,
|
||||||
|
"scss/at-rule-no-unknown": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4186
package-lock.json
generated
4186
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -53,12 +53,19 @@
|
||||||
"node-sass": "^5.0.0",
|
"node-sass": "^5.0.0",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"stylelint": "^13.12.0",
|
"stylelint": "^13.12.0",
|
||||||
"stylelint-config-wordpress": "^17.0.0"
|
"stylelint-config-rational-order": "^0.1.2",
|
||||||
|
"stylelint-config-recommended": "^3.0.0",
|
||||||
|
"stylelint-config-wordpress": "^17.0.0",
|
||||||
|
"stylelint-order": "^4.1.0",
|
||||||
|
"stylelint-scss": "^3.19.0"
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"config": {
|
"config": {
|
||||||
"commitizen": {
|
"commitizen": {
|
||||||
"path": "./node_modules/cz-conventional-changelog"
|
"path": "./node_modules/cz-conventional-changelog"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"stylelint-a11y": "^1.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue