Update Stylelint defaults for Stylus-lang at-rules (#695)

* Update Stylelint defaults for Stylus-lang at-rules

* Minor tweak
This commit is contained in:
stonecrusher 2019-04-14 15:39:22 +02:00 committed by Rob Garrison
parent ab83ed8f0f
commit b48817fe01

View File

@ -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, {