Commit bd573a7b authored by nwindis's avatar nwindis
Browse files

build: improve styleint rules

parent f93b6b1e
Pipeline #155880 passed with stages
in 3 minutes
{
"extends": "stylelint-config-sass-guidelines",
"extends": [
"stylelint-config-sass-guidelines",
"stylelint-8-point-grid"
],
"plugins": [
"stylelint-no-unsupported-browser-features"
],
"rules": {
"selector-class-pattern": "[a-z]+",
"max-nesting-depth": 2,
"scss/dollar-variable-pattern": null
"max-nesting-depth": [
2,
{
"severity": "error"
}
],
"scss/dollar-variable-pattern": null,
"plugin/no-unsupported-browser-features": [
true,
{
"severity": "warning"
}
]
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -54,10 +54,15 @@
"sass": "^1.26.11",
"sass-loader": "8.0.2",
"stylelint": "^13.7.2",
"stylelint-config-sass-guidelines": "^7.1.0"
"stylelint-8-point-grid": "^1.0.0",
"stylelint-config-sass-guidelines": "^7.1.0",
"stylelint-no-unsupported-browser-features": "^4.0.0"
},
"browserslist": [
"last 1 version, not dead, ie >= 11"
"last 1 version",
"not dead",
"not IE 11",
"> 3%"
],
"engines": {
"node": ">= 14.0.0",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment