Skip to content

Releases: jaydenseric/eslint-plugin-optimal-modules

Version 4.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 28 Jul 09:44

Major

  • Updated Node.js support to ^22.13.0 || ^24.0.0 || >=26.0.0.

  • Updated the peer dependency eslint to ^10.0.0.

  • Use the JSDoc tag @import for type imports (requires TypeScript v5.5+).

  • Changed the ESLint plugin module format from CJS in a .js file to ESM in a .mjs file. 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 ESLintPlugin is no longer exported.

Minor

  • Added the ESLint plugin property meta.namespace with the value "optimal-modules".
  • Added the ESLint plugin config recommended property name with 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 .gitattributes file to enforce LF line endings.
  • Updated docs.

Version 3.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 26 Sep 02:51

Major

  • Updated the peer dependency eslint to ^9.11.1.
  • Removed the dependency @types/eslint to rely on the types provided in eslint v9.10+.

Patch

  • Updated dependencies.
  • Added the dependency @types/estree so it’s no longer transitive.
  • Migrate deprecated types in the project and example ESLint configs.

Version 2.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 15 May 13:11

Major

  • Updated Node.js support to ^18.18.0 || ^20.9.0 || >=21.1.0.
  • Updated the peer dependency eslint to ^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/checkout to v4.
    • Updated actions/setup-node to v4.
  • Updated the package.json field repository to 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

Choose a tag to compare

@jaydenseric jaydenseric released this 29 Jun 06:31

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).

Version 1.0.1

Choose a tag to compare

@jaydenseric jaydenseric released this 28 Jun 23:51

Patch

  • Fixed broken rule URLs.

Version 1.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 28 Jun 22:59

Initial release.