diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-21 13:17:07 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-05-08 19:05:31 +0300 |
commit | 54d1174b7564d114e9c834da19ed3535422bb73c (patch) | |
tree | 3c067f533dcee174c26a886317dd30f32648f411 /stylelint.config.js | |
parent | ae516699a26963bde8061445cc68959a94f648a1 (diff) |
Run stylelint with the version from package.json
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'stylelint.config.js')
-rw-r--r-- | stylelint.config.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/stylelint.config.js b/stylelint.config.js new file mode 100644 index 000000000..2f7167d4e --- /dev/null +++ b/stylelint.config.js @@ -0,0 +1,30 @@ +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, + 'selector-pseudo-class-no-unknown': true, + 'selector-pseudo-element-no-unknown': [true, { + ignorePseudoElements: ['v-deep'], + }], + 'no-descending-specificity': null, + 'string-quotes': 'single', + }, + plugins: ['stylelint-scss'], +} |