2020-10-24 01:04:25 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
"extends": [
|
|
|
|
"stylelint-config-sass-guidelines",
|
|
|
|
"stylelint-config-prettier"
|
|
|
|
],
|
|
|
|
"plugins": [
|
2023-01-25 21:00:23 +00:00
|
|
|
"@primer/stylelint-config/plugins/no-undefined-vars",
|
|
|
|
"@primer/stylelint-config/plugins/no-unused-vars"
|
2020-10-24 01:04:25 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"block-no-empty": true,
|
|
|
|
"color-no-invalid-hex": true,
|
|
|
|
"comment-no-empty": true,
|
|
|
|
"declaration-block-no-duplicate-properties": true,
|
|
|
|
"declaration-block-no-shorthand-property-overrides": true,
|
|
|
|
"font-family-no-duplicate-names": true,
|
|
|
|
"function-calc-no-unspaced-operator": true,
|
|
|
|
"function-linear-gradient-no-nonstandard-direction": true,
|
|
|
|
"max-nesting-depth": null,
|
|
|
|
"media-feature-name-no-unknown": true,
|
|
|
|
"no-duplicate-at-import-rules": true,
|
|
|
|
"no-duplicate-selectors": null,
|
|
|
|
"no-empty-source": true,
|
|
|
|
"no-extra-semicolons": true,
|
|
|
|
"no-invalid-double-slash-comments": true,
|
|
|
|
"primer/no-undefined-vars": true,
|
|
|
|
"primer/no-unused-vars": true,
|
|
|
|
"property-no-unknown": true,
|
2022-11-04 04:01:17 +00:00
|
|
|
"property-no-vendor-prefix": null,
|
2020-10-24 01:04:25 +00:00
|
|
|
"scss/at-rule-no-unknown": true,
|
|
|
|
"selector-attribute-quotes": null,
|
|
|
|
"selector-max-compound-selectors": null,
|
|
|
|
"selector-max-id": null,
|
|
|
|
"selector-no-qualifying-type": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignore": [
|
|
|
|
"attribute"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selector-pseudo-class-no-unknown": true,
|
|
|
|
"selector-pseudo-element-no-unknown": true,
|
|
|
|
"selector-type-no-unknown": true,
|
|
|
|
"string-no-newline": true,
|
|
|
|
"unit-no-unknown": true,
|
|
|
|
}
|
|
|
|
};
|