- Stylelint configuration: - ignore Angular-specific pseudo-elements such as `::host` - stop flagging underscore-prefixed SCSS partial imports that match the existing layout partial convention - drop empty-source and precision-only checks that were adding noise without improving maintainability - Lint surface: - keep the higher-signal duplicate-selector, naming, and font-family checks in place - reduce the manual stylelint queue from 62 findings to 10 actionable errors - Validation: - `just ui stylelint` now reports 10 errors after the config update
35 lines
1.2 KiB
JavaScript
35 lines
1.2 KiB
JavaScript
module.exports = {
|
|
extends: ["stylelint-config-standard-scss"],
|
|
ignoreFiles: ["dist/**", "node_modules/**"],
|
|
rules: {
|
|
"alpha-value-notation": null,
|
|
"at-rule-empty-line-before": null,
|
|
"color-function-alias-notation": null,
|
|
"color-function-notation": null,
|
|
"color-hex-length": null,
|
|
"declaration-block-single-line-max-declarations": null,
|
|
"declaration-empty-line-before": null,
|
|
"declaration-property-value-keyword-no-deprecated": null,
|
|
"keyframes-name-pattern": null,
|
|
"media-feature-range-notation": null,
|
|
"no-descending-specificity": null,
|
|
"no-empty-source": null,
|
|
"no-invalid-position-declaration": null,
|
|
"number-max-precision": null,
|
|
"property-no-deprecated": null,
|
|
"property-no-vendor-prefix": null,
|
|
"rule-empty-line-before": null,
|
|
"selector-class-pattern": null,
|
|
"selector-pseudo-element-no-unknown": [
|
|
true,
|
|
{
|
|
ignorePseudoElements: ["host", "ng-deep"],
|
|
},
|
|
],
|
|
"scss/dollar-variable-empty-line-before": null,
|
|
"scss/load-partial-extension": null,
|
|
"scss/load-no-partial-leading-underscore": null,
|
|
"shorthand-property-no-redundant-values": null,
|
|
},
|
|
};
|