From b48817fe01d4079b5eeec0e817e3ed6f240a16f9 Mon Sep 17 00:00:00 2001 From: stonecrusher Date: Sun, 14 Apr 2019 15:39:22 +0200 Subject: [PATCH] Update Stylelint defaults for Stylus-lang at-rules (#695) * Update Stylelint defaults for Stylus-lang at-rules * Minor tweak --- edit/linter-defaults.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/edit/linter-defaults.js b/edit/linter-defaults.js index a004b2b8..4d1d6aee 100644 --- a/edit/linter-defaults.js +++ b/edit/linter-defaults.js @@ -10,7 +10,10 @@ const LINTER_DEFAULTS = (() => { // ** recommended rules ** // ref: https://github.com/stylelint/stylelint-config-recommended/blob/master/index.js rules: { - 'at-rule-no-unknown': [true, SEVERITY], + 'at-rule-no-unknown': [true, { + 'ignoreAtRules': ['extend', 'extends', 'css', 'block'], + 'severity': 'warning' + }], 'block-no-empty': [true, SEVERITY], 'color-no-invalid-hex': [true, SEVERITY], 'declaration-block-no-duplicate-properties': [true, {