mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 18:43:50 +00:00
Replaced adidas coding styles for CSS with a custom one based on stylelint recommended
This commit is contained in:
26
.stylelintrc
26
.stylelintrc
@@ -1,11 +1,29 @@
|
||||
{
|
||||
"extends": [
|
||||
"stylelint-config-adidas",
|
||||
"stylelint-config-adidas-bem",
|
||||
"stylelint-config-standard",
|
||||
"stylelint-config-recommended-scss"
|
||||
],
|
||||
"syntax": "scss",
|
||||
"plugins": [
|
||||
"stylelint-scss"
|
||||
]
|
||||
"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]+$"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user