Skip to content

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

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

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

Conversation

@MantisClone

Copy link
Copy Markdown
Contributor

Description of the changes

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

@MantisCloneMantisClone changed the title Enforce eslint monorepo/no-relative-import rulechore: enforce eslint monorepo/no-relative-import ruleOct 15, 2023
@MantisClone
MantisClone marked this pull request as ready for review October 16, 2023 12:51
Comment threadpackages/advanced-logic/package.json Outdated
"devDependencies": {
"@types/jest": "26.0.13",
"@types/lodash": "4.14.161",
"eslint-plugin-monorepo": "0.3.2",

Copy link
Copy Markdown
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",

@alexandre-abriouxalexandre-abrioux left a comment

Copy link
Copy Markdown
Contributor

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 masterOct 16, 2023
@MantisClone
MantisClone deleted the eslint-monorepo-no-relative-import branch October 16, 2023 18:39
Sign up for freeto 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

@MantisClone@KolevDarko@alexandre-abrioux