Skip to content

Instantly share code, notes, and snippets.

@nathan-hyan
Last active January 16, 2023 18:09
Show Gist options
  • Save nathan-hyan/4bfe1757e45cf3d703ad5f337870a5f4 to your computer and use it in GitHub Desktop.
Save nathan-hyan/4bfe1757e45cf3d703ad5f337870a5f4 to your computer and use it in GitHub Desktop.
Personal configuration for Stylelint
{
"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