Update Stylelint defaults for Stylus-lang at-rules (#695)
* Update Stylelint defaults for Stylus-lang at-rules * Minor tweak
This commit is contained in:
parent
ab83ed8f0f
commit
b48817fe01
|
@ -10,7 +10,10 @@ const LINTER_DEFAULTS = (() => {
|
||||||
// ** recommended rules **
|
// ** recommended rules **
|
||||||
// ref: https://github.com/stylelint/stylelint-config-recommended/blob/master/index.js
|
// ref: https://github.com/stylelint/stylelint-config-recommended/blob/master/index.js
|
||||||
rules: {
|
rules: {
|
||||||
'at-rule-no-unknown': [true, SEVERITY],
|
'at-rule-no-unknown': [true, {
|
||||||
|
'ignoreAtRules': ['extend', 'extends', 'css', 'block'],
|
||||||
|
'severity': 'warning'
|
||||||
|
}],
|
||||||
'block-no-empty': [true, SEVERITY],
|
'block-no-empty': [true, SEVERITY],
|
||||||
'color-no-invalid-hex': [true, SEVERITY],
|
'color-no-invalid-hex': [true, SEVERITY],
|
||||||
'declaration-block-no-duplicate-properties': [true, {
|
'declaration-block-no-duplicate-properties': [true, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user