summaryrefslogtreecommitdiffstats
path: root/.stylelintrc.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-10 11:37:51 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-10 11:37:51 +0200
commite6a514b8dba70b725c22752691f0c09e827d9c89 (patch)
tree4307526831cc4f47272b3bfd2e1722968d35a941 /.stylelintrc.js
parent4037677075cb394b2b5807a5cf379e046254df99 (diff)
Update config files names
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.stylelintrc.js')
-rw-r--r--.stylelintrc.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/.stylelintrc.js b/.stylelintrc.js
new file mode 100644
index 00000000..b9937526
--- /dev/null
+++ b/.stylelintrc.js
@@ -0,0 +1,26 @@
+module.exports = {
+ extends: 'stylelint-config-recommended-scss',
+ rules: {
+ indentation: 'tab',
+ 'selector-type-no-unknown': null,
+ 'number-leading-zero': null,
+ 'rule-empty-line-before': [
+ 'always',
+ {
+ ignore: ['after-comment', 'inside-block']
+ }
+ ],
+ 'declaration-empty-line-before': [
+ 'never',
+ {
+ ignore: ['after-declaration']
+ }
+ ],
+ 'comment-empty-line-before': null,
+ 'selector-type-case': null,
+ 'selector-list-comma-newline-after': null,
+ 'no-descending-specificity': null,
+ 'string-quotes': 'single'
+ },
+ plugins: ['stylelint-scss']
+}