Skip to content

Instantly share code, notes, and snippets.

@3runoDesign
Created June 26, 2020 04:06
Show Gist options
  • Save 3runoDesign/d48edfe971440ec660511a2ea237c6e8 to your computer and use it in GitHub Desktop.
Save 3runoDesign/d48edfe971440ec660511a2ea237c6e8 to your computer and use it in GitHub Desktop.
Stylelint
{
"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"]
}
yarn add -D stylelint stylelint stylelint-config-standar stylelint-config-rational-order stylelint-order
"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