Releases: jaydenseric/eslint-plugin-optimal-modules
Releases · jaydenseric/eslint-plugin-optimal-modules
Release list
Version 4.0.0
Major
-
Updated Node.js support to
^22.13.0 || ^24.0.0 || >=26.0.0. -
Updated the peer dependency
eslintto^10.0.0. -
Use the JSDoc tag
@importfor type imports (requires TypeScript v5.5+). -
Changed the ESLint plugin module format from CJS in a
.jsfile to ESM in a.mjsfile. To migrate a deep import:- import eslintPluginOptimalModules from "eslint-plugin-optimal-modules/eslintPluginOptimalModules.js"; + import eslintPluginOptimalModules from "eslint-plugin-optimal-modules/eslintPluginOptimalModules.mjs";
-
The type
ESLintPluginis no longer exported.
Minor
- Added the ESLint plugin property
meta.namespacewith the value"optimal-modules". - Added the ESLint plugin config
recommendedpropertynamewith the value"optimal-modules/recommended".
Patch
- Updated dev dependencies.
- Updated package scripts.
- Updated GitHub Actions CI config.
- Updated TypeScript config.
- Updated VS Code workspace settings.
- Updated the ESLint config.
- Switched to the Node.js test runner code coverage, removing the dev dependency
coverage-node. - Moved rules into separate modules.
- Improved tests.
- Sorted config in
.editorconfig. - Added a
.gitattributesfile to enforce LF line endings. - Updated docs.
Version 3.0.0
Major
- Updated the peer dependency
eslintto^9.11.1. - Removed the dependency
@types/eslintto rely on the types provided ineslintv9.10+.
Patch
- Updated dependencies.
- Added the dependency
@types/estreeso it’s no longer transitive. - Migrate deprecated types in the project and example ESLint configs.
Version 2.0.0
Major
- Updated Node.js support to
^18.18.0 || ^20.9.0 || >=21.1.0. - Updated the peer dependency
eslintto^9.0.0. - Updated dev dependencies, some of which require newer Node.js versions than previously supported.
- The plugin, and its config
recommended, is now ESLint v9 format.
Patch
- Updated dependencies.
- Updated GitHub Actions CI config:
- No longer run the workflow on pull request.
- Enable manual workflow dispatching.
- Run tests with Node.js v18, v20, v21, v22.
- Updated
actions/checkoutto v4. - Updated
actions/setup-nodeto v4.
- Updated the
package.jsonfieldrepositoryto conform to new npm requirements. - Updated the package script
eslint, ESLint config, and tests for ESLint v9. - Integrated new dev dependency
eslint-plugin-jsdoc. - Updated the readme instructions for ESLint “flat” config using
eslint.config.mjs.
Version 1.0.2
Patch
- Fixed the readme intro.
- Added to the readme installation instructions how to configure ESLint to allow named exports in Storybook story modules that have a Component Story Format (CSF).