Skip to content

Releases: willhoney7/eslint-plugin-import-helpers

v2 - ESLint v9 Support

23 Oct 02:12
Compare
Choose a tag to compare

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

26 Oct 15:37
Compare
Choose a tag to compare

Add support for a `type` group

14 Oct 03:59
Compare
Choose a tag to compare

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

07 Jan 15:47
Compare
Choose a tag to compare

v1.2 - ESLint 8 Support

19 Nov 19:43
Compare
Choose a tag to compare

v1.1.0 - ESLint 7 support added

10 Jul 19:35
Compare
Choose a tag to compare

v1.1.0 is a quick update to support ESLint 7. There shouldn't be any breaking changes.

v1.0.2

05 Jul 23:22
Compare
Choose a tag to compare

Adds support for ESLint v6 in the peer dependency.

v1.0.1

05 Jul 23:20
Compare
Choose a tag to compare

Fixes module regular expression: #10

v1.0.0 Released

08 Jun 19:52
Compare
Choose a tag to compare

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