Skip to content

Commit

Permalink
add 'import/no-useless-path-segments': 'error' (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri POSTOLOV authored May 9, 2023
1 parent 855d5f6 commit 0fe6bba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-camels-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@theguild/eslint-config': minor
---

add `'import/no-useless-path-segments': 'error'`
2 changes: 2 additions & 0 deletions packages/eslint-config/src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ module.exports = {
'no-self-compare': 'error',
eqeqeq: ['error', 'always', { null: 'ignore' }],

'import/no-useless-path-segments': 'error',

// 'prefer-destructuring': [ // TODO: Rediscuss later
// 'error',
// {
Expand Down

0 comments on commit 0fe6bba

Please sign in to comment.