style(frontend): scope no-invalid-position-declaration for scss mixins
- 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
This commit is contained in:
@@ -3,7 +3,12 @@ module.exports = {
|
||||
ignoreFiles: ["dist/**", "node_modules/**"],
|
||||
rules: {
|
||||
"no-descending-specificity": null,
|
||||
"no-invalid-position-declaration": null,
|
||||
"no-invalid-position-declaration": [
|
||||
true,
|
||||
{
|
||||
ignoreAtRules: ["media"],
|
||||
},
|
||||
],
|
||||
"property-no-vendor-prefix": null,
|
||||
"selector-class-pattern": null,
|
||||
"selector-pseudo-element-no-unknown": [
|
||||
|
||||
Reference in New Issue
Block a user