Skip to content

Update to stylelint-config-recommended@15 #336

Open
@jeddy3

Description

@jeddy3

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,
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions