- Stylelint: - re-enable no-invalid-position-declaration in the frontend Stylelint config - ignore nested @media blocks so shared Sass mixins can keep their responsive declarations without tripping a false positive - Shared styles: - avoid a risky refactor of the auth, panel, and settings mixins, which rely on Sass media bubbling for responsive output - Validation: - run just ui stylelint
24 lines
582 B
JavaScript
24 lines
582 B
JavaScript
module.exports = {
|
|
extends: ["stylelint-config-standard-scss"],
|
|
ignoreFiles: ["dist/**", "node_modules/**"],
|
|
rules: {
|
|
"no-descending-specificity": null,
|
|
"no-invalid-position-declaration": [
|
|
true,
|
|
{
|
|
ignoreAtRules: ["media"],
|
|
},
|
|
],
|
|
"property-no-vendor-prefix": null,
|
|
"selector-class-pattern": null,
|
|
"selector-pseudo-element-no-unknown": [
|
|
true,
|
|
{
|
|
ignorePseudoElements: ["host", "ng-deep"],
|
|
},
|
|
],
|
|
"scss/load-partial-extension": null,
|
|
"scss/load-no-partial-leading-underscore": null,
|
|
},
|
|
};
|