Skip to content

Commit

Permalink
remove all unnecessary stylelint custom rules
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Jul 16, 2024
1 parent 60ee68a commit 8727733
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions frontend/.stylelintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,13 @@ module.exports = {
"src/hooks/mediaQuery.module.scss",
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": ["after-same-name", "first-nested"],
"ignore": ["after-comment"]
}
],
"at-rule-no-unknown": null,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-no-important" : true,
"font-weight-notation": "numeric",
"function-url-quotes": "always",
"no-descending-specificity": null,
"selector-class-pattern": [
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"message": "Expected class selector to be kebab-case",
},
],
"selector-pseudo-class-no-unknown": [
true,
{
// https://github.com/webpack-contrib/css-loader#scope
"ignorePseudoClasses": ["global"]
}
],
"scss/at-rule-no-unknown": true,
}
};

0 comments on commit 8727733

Please sign in to comment.