Skip to content

Commit cbd1596

Browse files
committed
chore: stylelint config changes
1 parent 6ea510c commit cbd1596

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.stylelintrc.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
3-
"extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
2+
"plugins": ["stylelint-selector-bem-pattern"],
3+
"extends": ["stylelint-config-sass-guidelines", "stylelint-config-prettier"],
4+
"customSyntax": "postcss-scss",
45
"rules": {
56
"selector-class-pattern": null,
67
"selector-no-qualifying-type": [
@@ -9,10 +10,7 @@
910
"ignore": ["attribute", "class"]
1011
}
1112
],
12-
"string-no-newline": null,
13-
"indentation": 2,
14-
"string-quotes": "single",
15-
"max-nesting-depth": 2,
13+
"max-nesting-depth": 4,
1614
"plugin/selector-bem-pattern": {
1715
"preset": "bem",
1816
"componentName": "(([a-z0-9]+(?!-$)-?)+)",

plyr.code-workspace

+2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
// Linting
1414
"stylelint.enable": true,
15+
"stylelint.validate": ["css", "scss"],
1516
"css.validate": false,
17+
"less.validate": false,
1618
"scss.validate": false,
1719
"javascript.validate.enable": false,
1820

0 commit comments

Comments
 (0)