Skip to content

Upgrading stylelint 9 to 10

Breaking9.10.1 → 10.1.0Breaking2New6Changed2Fixed14

BreakingUpgrade verdict

2 breaking changes.

  • Removed: Node.js 6.x support.
  • Removed: styled and jsx syntax options that were replaced with css-in-js in v9.10.0.
2 items need code or config changes

Node.js requirement changed in 10.0.1: >=6 → >=8.7.0.

Adds strip-ansi ^5.2.0.

Installs 390 packages in all (was 377).

Also installs picomatch.

No longer installs is-supported-regexp-flag.

Moves ansi-regex 4.1.1 → 4.1.1, 5.0.1, braces 2.3.2 → 2.3.2, 3.0.3, clone-regexp 1.0.1 → 2.2.0, emoji-regex 7.0.3 → 7.0.3, 8.0.0, execall 1.0.0 → 2.0.0, file-entry-cache 4.0.0 → 5.0.1, fill-range 4.0.0 → 4.0.0, 7.1.1, get-stdin 6.0.0 → 7.0.0, html-tags 2.0.0 → 3.3.1, import-lazy 3.1.0 → 4.0.0, is-fullwidth-code-point 2.0.0 → 2.0.0, 3.0.0, is-number 3.0.0 → 3.0.0, 7.0.0, is-regexp 1.0.0 → 2.1.0, known-css-properties 0.11.0 → 0.14.0, leven 2.1.0 → 3.1.0 and 7 more. Your build may pick other versions.

Breaking2
Removed: Node.js 6.x support.
Removed: styled and jsx syntax options that were replaced with css-in-js in v9.10.0.
styledjsxcss-in-js