Skip to main content

all

all enables the stylesheet bridge plus the full configuration-rule catalog, including the more opinionated operational policy rules that recommended intentionally leaves out.

Flat config exampleโ€‹

import stylelint2 from "eslint-plugin-stylelint-2";

export default [
...stylelint2.configs.all,
];

What this preset includesโ€‹

  • The Stylelint bridge rule (stylelint)
  • Configuration-authoring policy rules
  • Opinionated operational policy rules (cache/formatter/fix/default-severity/reporting preferences)

What this preset does not includeโ€‹

  • Nothing from this plugin is excluded; this is the broadest preset.

Rules in this presetโ€‹

For the exhaustive generated rule matrix, see Presets overview.

RuleFix
stylelint๐Ÿ”ง
prefer-stylelint-cache๐Ÿ”ง
disallow-stylelint-default-severity๐Ÿ”ง
prefer-stylelint-fix๐Ÿ”ง
prefer-stylelint-formatterโ€”
disallow-stylelint-ignore-disables๐Ÿ”ง
disallow-stylelint-ignore-files๐Ÿ”ง
prefer-stylelint-define-config๐Ÿ”ง
prefer-stylelint-report-descriptionless-disables๐Ÿ”ง
prefer-stylelint-report-invalid-scope-disables๐Ÿ”ง
prefer-stylelint-report-needless-disables๐Ÿ”ง
prefer-stylelint-report-unscoped-disables๐Ÿ”ง