Releases: javierbrea/eslint-plugin-boundaries
Releases · javierbrea/eslint-plugin-boundaries
Fix entry-point rule templating
Eslint v9 support
Changed
- feat(#329): Modify dependencies, tests and docs to support eslint v9
- chore(#338): Bump micromatch dependency to 4.0.8
- docs: Clarify include/exclude precedence in docs (@robw-mercury)
Remove is-core-module dependency
Changed
- chore: Add changes from release 4.2.2
Remove is-core-module dependency
Changed
- chore(#334): Remove is-core-module dependency (@wojtekmaj)
- chore(dependencies): Bump micromatch to 4.0.7
- chore(devDependencies): Bum @typescript-eslint/eslint-plugin" to 7.15.0
- chore(devDependencies): Bump @typescript-eslint/parser to 7.15.0
- chore(devDependencies): Bump eslint to 8.57.0
- chore(devDependencies): Bump eslint-plugin-local-rules to 3.0.2
- chore(devDependencies): Bump lint-staged to 15.2.7
- chore(devDependencies): Bump mindsers/changelog-reader-action action to v2.2.3
- chore(devDependencies): Bumb prettier to 3.3.2
- chore(devDependencies): Bump EndBug/version-check action to v2.1.4
Support eslint v9
Changed
- feat: Modify dependencies and tests to support eslint v9
- feat: Remove
plugins
property from preset configurations, given that eslint v9 does not support defining plugins by using strings in the configuration. Added example to the main readme file to show how the plugin and predefined configurations should be used now. - chore: Migrate self eslint configuration to v9 format.
Removed
- chore: Drop support for Node.js versions lower than 18.18
Update dependencies
Changed
- chore: Bump eslint-module-utils to 2.8.1
- chore: Update devDependencies
- chore: Upgrade Node.js versions used in pipelines. Remove Node.js 16.x. Add Node.js 22.x
- chore: Bump actions/cache to v4
- chore: Bump actions/upload-artifact to v4
- chore: Bump actions/download-artifact to v4
Dependency node "require"
Added
- feat: Add
require
dependency node, enabling to analyze dependencies inrequire(...)
calls - chore: Lint code using eslint-plugin-boundaries in its own codebase
Improve settings validation
Support unexistant capture keys
Fixed
- fix: Avoid error when rule element matchers define a capture key but some element does not have that capture key
Dependency nodes
Added
- feat(#213): Add
dependency-nodes
setting to allow analyzing dependencies from additional nodes, such as exports or dynamic imports. (@gridsane) - feat: Add
additional-dependency-nodes
setting to add custom dependency nodes to the default ones. For example, you could enable to analyze dependencies injest.mock(...)
, etc. (@gridsane)
BREAKING CHANGES
- fix: Fixed the error position in multiline imports. See "how to migrate from v3 to v4" guide.