Created
August 1, 2020 16:56
-
-
Save seanogdev/2dde335d990084fa68f1ea82b593a0d7 to your computer and use it in GitHub Desktop.
stylelint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
extends: 'stylelint-config-recommended-scss', | |
plugins: ['stylelint-scss', 'stylelint-order'], | |
syntax: 'scss', | |
files: [ | |
'./src/**/*.scss', | |
], | |
rules: { | |
'indentation': 4, | |
'max-nesting-depth': 4, | |
'no-empty-source': null, | |
'no-descending-specificity': null, | |
'at-rule-no-unknown': null, | |
'property-no-unknown': [ | |
true, | |
], | |
'scss/at-rule-no-unknown': true, | |
'declaration-no-important': true, | |
'declaration-block-no-duplicate-properties': [true, { 'ignore': ['consecutive-duplicates-with-different-values'] }], | |
'declaration-empty-line-before': null, | |
'order/order': [ | |
{ | |
type: 'at-rule', | |
name: 'include', | |
}, | |
{ | |
type: 'at-rule', | |
}, | |
{ | |
type: 'at-rule', | |
name: 'include', | |
hasBlock: true | |
}, | |
{ | |
type: 'at-rule', | |
hasBlock: true | |
}, | |
], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment