diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-07-13 13:50:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 13:50:54 +0300 |
commit | 36bb0d34af7714883eb70da674e7d26914298a74 (patch) | |
tree | 39d90aba4ca1c40ddf75e3d21aab909ab5a235d6 /stylelint.config.js | |
parent | af0b1e4c9422f8c1013545e1c6aa7d012899e32c (diff) | |
parent | 28639b5ddf270a4979ab3b8301d9cd414e0c3f9b (diff) |
Merge pull request #389 from nextcloud/stb19/add-php-csv19.0.1
Add php cs
Diffstat (limited to 'stylelint.config.js')
-rw-r--r-- | stylelint.config.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/stylelint.config.js b/stylelint.config.js new file mode 100644 index 00000000..75c793f6 --- /dev/null +++ b/stylelint.config.js @@ -0,0 +1,32 @@ +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', + 'selector-pseudo-element-no-unknown': [ + true, + { + ignorePseudoElements: ['v-deep'], + }, + ], + }, + plugins: ['stylelint-scss'], +} |