Skip to content

Commit

Permalink
feat(basic): ban self import (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Jul 5, 2023
1 parent 4edff9c commit 2ed8536
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-basic/index.js
Expand Up @@ -215,6 +215,7 @@ module.exports = {
'import/no-unresolved': 'off',
'import/no-absolute-path': 'off',
'import/newline-after-import': ['error', { count: 1, considerComments: true }],
'import/no-self-import': 'error',

// Common
'semi': ['error', 'never'],
Expand Down

0 comments on commit 2ed8536

Please sign in to comment.