aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
new file mode 100644
index 0000000..09c449b
--- /dev/null
+++ b/.stylelintrc.json
@@ -0,0 +1,34 @@
+{
+ "extends": "stylelint-config-standard-scss",
+ "rules": {
+ "alpha-value-notation": "number",
+ "color-function-notation": "legacy",
+ "comment-whitespace-inside": null,
+ "custom-property-pattern": null,
+ "declaration-empty-line-before": null,
+ "function-url-quotes": null,
+ "hue-degree-notation": "number",
+ "length-zero-no-unit": [true, { "ignore": ["custom-properties"] }],
+ "property-no-unknown": [
+ true,
+ {
+ "ignoreProperties": ["composes"]
+ }
+ ],
+ "selector-id-pattern": null,
+ "selector-class-pattern": [
+ "^([a-z][a-z0-9]*)((-|--|__)[a-z0-9]+)*$",
+ {
+ "message": "Selector should use lowercase and separate words with hyphens or use BEM (selector-class-pattern)"
+ }
+ ],
+ "selector-pseudo-class-no-unknown": [
+ true,
+ { "ignorePseudoClasses": ["global", "local"] }
+ ],
+ "scss/dollar-variable-empty-line-before": null,
+ "scss/dollar-variable-pattern": null,
+ "scss/double-slash-comment-whitespace-inside": null,
+ "scss/operator-no-newline-after": null
+ }
+}