Skip to content

Commit

Permalink
Add import/no-useless-path-segments rule to eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
asiia-trilitech committed Dec 10, 2024
1 parent 0478c0e commit 8323522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module.exports = {
"import/no-cycle": "warn",
"import/no-self-import": "warn",
"import/no-duplicates": ["warn", { "prefer-inline": true }],
"import/no-useless-path-segments": ["warn", { commonjs: true }],
"import/order": [
"warn",
{
Expand Down

0 comments on commit 8323522

Please sign in to comment.