2018-08-25 11:22:25 +03:00
|
|
|
{
|
|
|
|
"extends": [
|
2022-05-11 23:32:17 +03:00
|
|
|
"stylelint-config-standard",
|
2018-08-25 11:22:25 +03:00
|
|
|
"stylelint-config-recommended-scss"
|
|
|
|
],
|
|
|
|
"syntax": "scss",
|
|
|
|
"plugins": [
|
2022-05-11 23:32:17 +03:00
|
|
|
"stylelint-scss",
|
|
|
|
"stylelint-selector-bem-pattern"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"string-quotes": "single",
|
|
|
|
"number-leading-zero": "never",
|
|
|
|
"selector-pseudo-element-colon-notation": null,
|
|
|
|
"alpha-value-notation": null,
|
|
|
|
"scss/at-import-partial-extension": null,
|
|
|
|
"color-hex-length": null,
|
|
|
|
"selector-class-pattern": null,
|
|
|
|
"scss/no-global-function-names": null,
|
|
|
|
"plugin/selector-bem-pattern": {
|
|
|
|
"componentName": "[A-Z]+",
|
|
|
|
"componentSelectors": {
|
|
|
|
"initial": "^\\.{componentName}(?:-[a-z]+)?$",
|
|
|
|
"combined": "^\\.combined-{componentName}-[a-z]+$"
|
|
|
|
},
|
|
|
|
"utilitySelectors": "^\\.util-[a-z]+$"
|
|
|
|
}
|
|
|
|
}
|
2018-08-25 11:22:25 +03:00
|
|
|
}
|