Skip to content

Upgrading stylelint 1 to 2

Breaking1.2.1 → 2.3.7Breaking1New35Fixed21

BreakingUpgrade verdict

1 breaking change.

  • How you load and configure plugins has changed, so existing plugin setups need updating.
1 item needs code or config changes

Adds get-stdin ^5.0.0, globby ^3.0.1, is-css-color-name ^0.1.1, meow ^3.3.0, postcss-reporter ^1.3.0, postcss-scss ^0.1.3, postcss-value-parser ^3.1.1, queue-async ^1.0.7, rc ^1.1.1, resolve-from ^1.0.1.

Installs 112 packages in all (was 29).

Also installs array-find-index, array-union, array-uniq, arrify, brace-expansion, camelcase, camelcase-keys, concat-map, css-color-names, currently-unhandled, decamelize, deep-extend, error-ex, es-errors, find-up and 48 more.

Moves balanced-match 0.2.1 → 0.2.1, 1.0.2, lodash 3.10.1 → 3.10.1, 4.18.1. Your build may pick other versions.

Breaking1
Plugins are now included and configured via a "locator" instead of being required or inserted directly into the configuration object as a function.