aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dev
diff options
context:
space:
mode:
Diffstat (limited to '.dev')
-rw-r--r--.dev/.sasslintrc17
-rw-r--r--.dev/.stylelintrc.js15
2 files changed, 15 insertions, 17 deletions
diff --git a/.dev/.sasslintrc b/.dev/.sasslintrc
deleted file mode 100644
index 47c3145d..00000000
--- a/.dev/.sasslintrc
+++ /dev/null
@@ -1,17 +0,0 @@
1options:
2 max-warnings: 0
3rules:
4 property-sort-order:
5 - 0
6# Sort order rule does not work with CSS variables: https://github.com/sasstools/sass-lint/issues/1161
7# - 1
8# -
9# order: 'concentric'
10 no-important:
11 - 0
12 no-vendor-prefixes:
13 - 0 # this will be fixed with v2: see https://github.com/sasstools/sass-lint/pull/1137
14 nesting-depth:
15 - 1
16 -
17 max-depth: 4
diff --git a/.dev/.stylelintrc.js b/.dev/.stylelintrc.js
new file mode 100644
index 00000000..a754e33b
--- /dev/null
+++ b/.dev/.stylelintrc.js
@@ -0,0 +1,15 @@
1module.exports = {
2 extends: 'stylelint-config-standard',
3 plugins: [
4 "stylelint-scss"
5 ],
6 rules: {
7 "indentation": [2],
8 "number-leading-zero": null,
9 // Replace CSS @ with SASS ones
10 "at-rule-no-unknown": null,
11 "scss/at-rule-no-unknown": true,
12 // not compatible with SASS apparently
13 "no-descending-specificity": null
14 },
15}