diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2021-06-14 18:03:25 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-17 17:48:26 +0300 |
commit | 29b2dd55ac8d7d593d0a1fb0b4bf09e01137ee42 (patch) | |
tree | 884ab667aa538857f5b01371a4dbf10340ce969f /stylelint.config.js | |
parent | 6b452be45b4906c025f7f54d4a1a2ab8af5ff0e5 (diff) |
Bump dependencies and use npm7
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'stylelint.config.js')
-rw-r--r-- | stylelint.config.js | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/stylelint.config.js b/stylelint.config.js index 1bcc1956a..fa8138e1f 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -1,31 +1,5 @@ -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'], - ignoreFiles: ['css/At.scss'], -} +const stylelintConfig = require('@nextcloud/stylelint-config') + +stylelintConfig.ignoreFiles = ['css/At.scss'] + +module.exports = stylelintConfig |