Releases: willhoney7/eslint-plugin-import-helpers
v2 - ESLint v9 Support
We've cut a new release, v2, which supports ESLint v9. If you use ESLint v8, you should continue to use the 1.X versions.
There are no other breaking changes.
1.3.1 Patch to remove engines field
v1.3.1 1.3.1
Add support for a `type` group
Add support for classifying type imports as an entirely separate group, if desired.
From the docs:
The type
group
TypeScript has what are called type imports, e.g.,
import type { ImportantType } from './thing';
If you would like to treat these type imports as a completely separate group (instead of sorted according to the file it was imported from), add a type
group to your groups
list.
With the type
group:
/* eslint import-helpers/order-imports: ["error", {"groups": ['sibling', 'module', 'type']}] */
import foo from './foo';
import fs from 'fs';
import path from 'path';
import type { ImportantType } from './sibling';
Without the type
group:
/* eslint import-helpers/order-imports: ["error", {"groups": ['sibling', 'module']}] */
import foo from './foo';
import type { ImportantType } from './sibling';
import fs from 'fs';
import path from 'path';
v1.2.1 - Support for large lists of imports
v1.2 - ESLint 8 Support
v1.2.0 1.2.0
v1.1.0 - ESLint 7 support added
v1.1.0 is a quick update to support ESLint 7. There shouldn't be any breaking changes.
v1.0.2
Adds support for ESLint v6 in the peer dependency.
v1.0.1
v1.0.0 Released
v1.0 has been released! I've cleaned up the plugin a bit, added (some) typescript definitions to the plugin, and tweaked some configuration.
The guide for migrating from v0.14 to v1 can be found in the import-rules docs: order-imports
. It should be a quick migration.
NPM: https://www.npmjs.com/package/eslint-plugin-import-helpers/v/1.0.0