Skip to content

Releases: javierbrea/eslint-plugin-boundaries

Update dependencies

16 May 17:34
5636625
Compare
Choose a tag to compare

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"

16 Jan 18:11
3fcec31
Compare
Choose a tag to compare

Added

  • feat: Add require dependency node, enabling to analyze dependencies in require(...) calls
  • chore: Lint code using eslint-plugin-boundaries in its own codebase

Improve settings validation

13 Jan 07:18
a6b0b85
Compare
Choose a tag to compare

Changed

  • feat(#323): Specify which element type has issues during settings validation (Thanks to @hmnzr)

Support unexistant capture keys

01 Dec 19:44
1fe6f83
Compare
Choose a tag to compare

Fixed

  • fix: Avoid error when rule element matchers define a capture key but some element does not have that capture key

Dependency nodes

01 Dec 17:56
e46a12c
Compare
Choose a tag to compare

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 in jest.mock(...), etc. (@gridsane)

BREAKING CHANGES

Update dependencies

01 Nov 09:02
8725895
Compare
Choose a tag to compare

Changed

  • chore(deps): Update dependencies

root-path setting

26 Aug 07:39
0d873ca
Compare
Choose a tag to compare

Added

  • feat(#296): Add root-path setting to allow defining the root path of the project. It is useful when executing the eslint command from a different folder than the project root.

importKind option

19 Aug 07:55
6ea864b
Compare
Choose a tag to compare

Added

  • feat(#298): Add importKind option to element-types, entry-point and external rules. It allows to define if the rule applies when the dependency is being imported as a value or as a type.
  • chore: Add meta name and version to plugin exported object
  • chore: Handle concurrency in pipelines

Fixed

  • fix(#295): Replace template values in custom messages using a Regexp, so it replaces all occurrences
  • fix: Do not throw error when rule contains matchers for captured values but element has not captured values

Changed

  • chore(deps): Update dependencies
  • chore(deps): Use NodeJs 16.x, 18.x and 20.x in pipelines
  • refactor: Use optional chain expressions

Matching paths in external modules

30 Jul 18:27
16b2a01
Compare
Choose a tag to compare

Added

  • feat(#297): Support matching imported external module path in external rule using micromatch patterns

Update devDependencies

03 Apr 17:19
fcfbb0b
Compare
Choose a tag to compare

Changed

  • chore(deps): Update devDependencies