Skip to content

chore: enforce eslint monorepo/no-relative-import rule#1200

Merged
MantisClone merged 4 commits intomasterfrom
eslint-monorepo-no-relative-import
Oct 16, 2023
Merged

chore: enforce eslint monorepo/no-relative-import rule#1200
MantisClone merged 4 commits intomasterfrom
eslint-monorepo-no-relative-import

Conversation

@MantisClone
Copy link
Member

Description of the changes

  • Add eslint-plugin-monorepo
  • Enable monorepo/no-relative-input eslint rule on all packages

@MantisClone MantisClone changed the title Enforce eslint monorepo/no-relative-import rule chore: enforce eslint monorepo/no-relative-import rule Oct 15, 2023
@MantisClone MantisClone marked this pull request as ready for review October 16, 2023 12:51
"devDependencies": {
"@types/jest": "26.0.13",
"@types/lodash": "4.14.161",
"eslint-plugin-monorepo": "0.3.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we install it in the main package.json instead? See other plugins here:

"eslint-plugin-import": "2.22.1",

Copy link
Contributor

@alexandre-abrioux alexandre-abrioux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a comment regarding the installation's location, other than that LGTM 🙂

@MantisClone MantisClone merged commit 3c256d5 into master Oct 16, 2023
@MantisClone MantisClone deleted the eslint-monorepo-no-relative-import branch October 16, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eliminate relative imports between packages and enforce monorepo/no-relative-import eslint rule

3 participants