Created
June 26, 2020 04:06
-
-
Save 3runoDesign/d48edfe971440ec660511a2ea237c6e8 to your computer and use it in GitHub Desktop.
Stylelint
This file contains 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
{ | |
"plugins": ["stylelint-order", "stylelint-config-rational-order/plugin"], | |
"rules": { | |
"order/properties-order": [], | |
"plugin/rational-order": [ | |
true, | |
{ | |
"border-in-box-model": false, | |
"empty-line-between-groups": false | |
} | |
] | |
}, | |
"extends": ["stylelint-config-standard", "stylelint-config-rational-order"] | |
} |
This file contains 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
yarn add -D stylelint stylelint stylelint-config-standar stylelint-config-rational-order stylelint-order |
This file contains 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
"editor.codeActionsOnSave": { | |
"source.fixAll.stylelint": true | |
}, | |
"files.associations": { | |
".stylelintrc": "json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment