diff --git a/.changeset/cuddly-beers-wonder.md b/.changeset/cuddly-beers-wonder.md deleted file mode 100644 index 2c91824b..00000000 --- a/.changeset/cuddly-beers-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/eslint-plugin': major ---- - -Replace `eslint-plugin-node` with `eslint-plugin-n` diff --git a/.changeset/gold-cups-grab.md b/.changeset/gold-cups-grab.md deleted file mode 100644 index 992b014a..00000000 --- a/.changeset/gold-cups-grab.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@shopify/eslint-plugin': major ---- - -Update plugin dependencies - -- `eslint-plugin-import`: `^2.29.0`to `^2.31.0` -- `eslint-plugin-jest`: `^28.5.0`to `^28.9.0` -- `eslint-plugin-jsx-a11y`: `6.8.0` to `6.10.2` -- `eslint-plugin-prettier`: `^5.1.3`to`^5.2.1` -- `eslint-plugin-promise`: `^6.1.1`to`^7.2.1` -- `eslint-plugin-react`: `^7.34.1`to`^7.37.2` -- `eslint-plugin-react-hooks`: `^4.6.2`to`^5.1.0` -- `eslint-plugin-sort-class-members`: `^1.20.0` to `^1.21.0` diff --git a/.changeset/neat-clocks-juggle.md b/.changeset/neat-clocks-juggle.md deleted file mode 100644 index 22f6ee28..00000000 --- a/.changeset/neat-clocks-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/eslint-plugin': minor ---- - -Replace usage of deprecated `superTypeParameters` with `superTypeArguments` diff --git a/.changeset/six-pianos-cheat.md b/.changeset/six-pianos-cheat.md deleted file mode 100644 index 99f8ad0b..00000000 --- a/.changeset/six-pianos-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/eslint-plugin': minor ---- - -Use the "latest" ecmaVersion when parsing diff --git a/.changeset/weak-rats-explain.md b/.changeset/weak-rats-explain.md deleted file mode 100644 index 094e306f..00000000 --- a/.changeset/weak-rats-explain.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@shopify/eslint-plugin': major ---- - -Remove Babel parser and plugin. - -The Babel plugin and parser are only useful when authoring JavaScript that uses syntax that has not yet reached stage 4 of the standardisation process. - -We do not wish to encourage the usage of non-standard syntax in `.js` files as a default supported behaviour. - -If you wish to continue to use non-standard syntax in `.js` files then you should add and configure `@babel/eslint-parser` and `@babel/eslint-plugin` yourself. - -- ESLint v8's `semi` and `no-invalid-this` rules provide the behaviour that `@babel/semi`, `@babel/no-invalid-this` were introduced to solve, and thus the babel versions of these rules are no longer requried. -- `@babel/new-cap` exists to handle the non-standard decorator syntax. -- `@babel/object-curly-spacing` exists to handle non-standard `export x from "mod"` syntax. -- `@babel/no-unused-expressions` exists to handle non-standard "do expressions". - -Remove all mentions of `@babel/*` rules in your eslint config unless you configure the babel plugin yourself. diff --git a/.changeset/wet-buckets-accept.md b/.changeset/wet-buckets-accept.md deleted file mode 100644 index 1fb32dac..00000000 --- a/.changeset/wet-buckets-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/eslint-plugin': minor ---- - -Replace usage of deprecated APIs that will be removed in ESLint v9 diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index ad4c6ec8..07413157 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## 47.0.0 + +### Major Changes + +- [#444](https://github.com/Shopify/web-configs/pull/444) [`75fe8da`](https://github.com/Shopify/web-configs/commit/75fe8daf5479a00349c3048bae62d0131ec6a0e2) Thanks [@BPScott](https://github.com/BPScott)! - Replace `eslint-plugin-node` with `eslint-plugin-n` + +- [#445](https://github.com/Shopify/web-configs/pull/445) [`f1e02bc`](https://github.com/Shopify/web-configs/commit/f1e02bc1d0d11517ebb9bc8bf6e8c519d7f3dce4) Thanks [@BPScott](https://github.com/BPScott)! - Update plugin dependencies + + - `eslint-plugin-import`: `^2.29.0`to `^2.31.0` + - `eslint-plugin-jest`: `^28.5.0`to `^28.9.0` + - `eslint-plugin-jsx-a11y`: `6.8.0` to `6.10.2` + - `eslint-plugin-prettier`: `^5.1.3`to`^5.2.1` + - `eslint-plugin-promise`: `^6.1.1`to`^7.2.1` + - `eslint-plugin-react`: `^7.34.1`to`^7.37.2` + - `eslint-plugin-react-hooks`: `^4.6.2`to`^5.1.0` + - `eslint-plugin-sort-class-members`: `^1.20.0` to `^1.21.0` + +- [#450](https://github.com/Shopify/web-configs/pull/450) [`9c5e826`](https://github.com/Shopify/web-configs/commit/9c5e8263672d4c241cdea58e9c688094ecd8475f) Thanks [@BPScott](https://github.com/BPScott)! - Remove Babel parser and plugin. + + The Babel plugin and parser are only useful when authoring JavaScript that uses syntax that has not yet reached stage 4 of the standardisation process. + + We do not wish to encourage the usage of non-standard syntax in `.js` files as a default supported behaviour. + + If you wish to continue to use non-standard syntax in `.js` files then you should add and configure `@babel/eslint-parser` and `@babel/eslint-plugin` yourself. + + - ESLint v8's `semi` and `no-invalid-this` rules provide the behaviour that `@babel/semi`, `@babel/no-invalid-this` were introduced to solve, and thus the babel versions of these rules are no longer requried. + - `@babel/new-cap` exists to handle the non-standard decorator syntax. + - `@babel/object-curly-spacing` exists to handle non-standard `export x from "mod"` syntax. + - `@babel/no-unused-expressions` exists to handle non-standard "do expressions". + + Remove all mentions of `@babel/*` rules in your eslint config unless you configure the babel plugin yourself. + +### Minor Changes + +- [#453](https://github.com/Shopify/web-configs/pull/453) [`a38a7ea`](https://github.com/Shopify/web-configs/commit/a38a7ea004bd83481bef4c8df683ecb5222bf8a8) Thanks [@BPScott](https://github.com/BPScott)! - Replace usage of deprecated `superTypeParameters` with `superTypeArguments` + +- [#451](https://github.com/Shopify/web-configs/pull/451) [`8606071`](https://github.com/Shopify/web-configs/commit/860607150911ba57bedcbc16a0e52e909b049934) Thanks [@BPScott](https://github.com/BPScott)! - Use the "latest" ecmaVersion when parsing + +- [#442](https://github.com/Shopify/web-configs/pull/442) [`9931668`](https://github.com/Shopify/web-configs/commit/9931668a48147e8e4b7388ba62b5848a131f1c7d) Thanks [@BPScott](https://github.com/BPScott)! - Replace usage of deprecated APIs that will be removed in ESLint v9 + ## 46.0.0 ### Major Changes diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 67570e5e..6218ec0d 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/eslint-plugin", - "version": "46.0.0", + "version": "47.0.0", "license": "MIT", "description": "Shopify's ESLint rules and configs.", "keywords": [