Update Stylelint defaults for Stylus-lang at-rules

This commit is contained in:
stonecrusher 2019-04-14 15:06:02 +02:00 committed by GitHub
parent ab83ed8f0f
commit b40b31aa8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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