From d4f5fe29e838468855169fd511eb1505f660d4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sun, 26 Jul 2020 11:22:13 +0200 Subject: [PATCH] Migrate stylelint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .stylelintrc.js => stylelint.config.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) rename .stylelintrc.js => stylelint.config.js (62%) diff --git a/.stylelintrc.js b/stylelint.config.js similarity index 62% rename from .stylelintrc.js rename to stylelint.config.js index b9937526d..75c793f63 100644 --- a/.stylelintrc.js +++ b/stylelint.config.js @@ -7,20 +7,26 @@ module.exports = { 'rule-empty-line-before': [ 'always', { - ignore: ['after-comment', 'inside-block'] - } + ignore: ['after-comment', 'inside-block'], + }, ], 'declaration-empty-line-before': [ 'never', { - ignore: ['after-declaration'] - } + 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' + 'string-quotes': 'single', + 'selector-pseudo-element-no-unknown': [ + true, + { + ignorePseudoElements: ['v-deep'], + }, + ], }, - plugins: ['stylelint-scss'] + plugins: ['stylelint-scss'], }