Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to stylelint-config-recommended@15 #336

Open
jeddy3 opened this issue Jan 6, 2025 · 1 comment
Open

Update to stylelint-config-recommended@15 #336

jeddy3 opened this issue Jan 6, 2025 · 1 comment

Comments

@jeddy3
Copy link
Collaborator

jeddy3 commented Jan 6, 2025

Just a heads up that we intend to change a few rules in our next release:
stylelint/stylelint-config-recommended#241

A few of the new rules are CSS-specific alternatives to existing ones. We suggest you continue using the existing rules in this config as they better support SCSS.

{
  "rules": {
   // ..
+ 'color-no-invalid-hex': true,
+ 'function-linear-gradient-no-nonstandard-direction': true,
+ 'unit-no-unknown': true,
+ 'string-no-newline': true,
+ 'at-rule-descriptor-no-unknown': null,
+ 'at-rule-descriptor-value-no-unknown': null,
+ 'at-rule-prelude-no-invalid': null,
+ 'declaration-property-value-no-unknown': null,
+ 'media-feature-name-value-no-unknown': null,
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant