Skip to content

Commit

Permalink
front: disable CommonJS and AMD for import/no-unresolved lint
Browse files Browse the repository at this point in the history
We now use ESM everywhere, we don't need to resolve CommonJS nor
AMD anymore.

The rule is enabled by default by import/recommended, so dropping
the line just uses the defaults instead of custom options.

Signed-off-by: Simon Ser <[email protected]>
  • Loading branch information
emersion committed Feb 10, 2025
1 parent 28b058a commit 395e5d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion front/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"devDependencies": ["**/*.spec.ts", "**/__tests__/**"]
}
],
"import/no-unresolved": [2, { "commonjs": true, "amd": true }],
"jsx-a11y/click-events-have-key-events": "off",
"linebreak-style": ["error", "unix"],
"no-await-in-loop": "off",
Expand Down

0 comments on commit 395e5d0

Please sign in to comment.