build: add additional stylelint rules

This commit is contained in:
Ben Goldsworthy 2021-04-25 20:02:38 +01:00
parent 532cb85dee
commit a8ee8bf8d9
3 changed files with 3359 additions and 853 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -53,12 +53,19 @@
"node-sass": "^5.0.0",
"prettier": "^2.2.1",
"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",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"stylelint-a11y": "^1.2.3"
}
}