Last active
January 16, 2023 18:09
-
-
Save nathan-hyan/4bfe1757e45cf3d703ad5f337870a5f4 to your computer and use it in GitHub Desktop.
Personal configuration for 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
{ | |
"defaultSeverity": "warning", | |
"extends": [ | |
"stylelint-config-standard-scss", | |
"stylelint-config-prettier-scss", | |
"stylelint-config-rational-order" | |
], | |
"ignoreFiles": ["**/*.js", "**/*.ts", "**/*.tsx", "**/*.jsx", "**/*.html"], | |
"rules": { | |
"order/properties-order": [[], { "severity": "warning" }], | |
"plugin/rational-order": [ | |
true, | |
{ | |
"border-in-box-model": false, | |
"empty-line-between-groups": true, | |
"severity": "warning" | |
} | |
], | |
"declaration-empty-line-before": null, | |
"no-duplicate-selectors": true, | |
"declaration-block-no-duplicate-properties": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment