Skip to content

Commit 6c51fc6

Browse files
Version Packages (#478)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent fecfb7b commit 6c51fc6

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.changeset/sixty-tables-add.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/eslint-plugin/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 50.0.0
4+
5+
### Major Changes
6+
7+
- [#477](https://github.com/Shopify/web-configs/pull/477) [`fecfb7b`](https://github.com/Shopify/web-configs/commit/fecfb7bc94a6c24492439c82b47d2c6a9cdce09d) Thanks [@BPScott](https://github.com/BPScott)! - Use `eslint-plugin-import-x` instead of `eslint-plugin-import`. This is faster, while retaing the same features - notably it avoids a large speed degredation when using the no-cycle rule with `eslint-plugin-import`.
8+
9+
Rule names are the same in `eslint-plugin-import-x`, but the plugin name is `import-x` instead of `import`. You will need to change all rules and settings that define or reference `import/THING` to `import-x/THING`. e.g. the rule `import/no-cycle` becomes `import-x/no-cycle` and the setting `import/parsers` becomes `import-x/parsers`. You should check the `eslint-plugin-import-x` documentation to see if the settings for any rules differ from their `eslint-plugin-import` counterparts.
10+
11+
Configuration of resolvers has switched from using `import/resolver` to `import-x/resolver-next`. Any configuration of resolvers shuld be done using the new setting per https://www.npmjs.com/package/eslint-plugin-import-x#resolvers. We now configure `eslint-import-resolver-typescript` as the default resolver for typescript files so you no longer need to configure a resolver unless you need to override the default options.
12+
313
## 49.0.0
414

515
### Major Changes

packages/eslint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/eslint-plugin",
3-
"version": "49.0.0",
3+
"version": "50.0.0",
44
"license": "MIT",
55
"description": "Shopify's ESLint rules and configs.",
66
"keywords": [

0 commit comments

Comments
 (0)