Skip to content

Commit 2ed8536

Browse files
authoredJul 5, 2023
feat(basic): ban self import (#213)
1 parent 4edff9c commit 2ed8536

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/eslint-config-basic/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ module.exports = {
215215
'import/no-unresolved': 'off',
216216
'import/no-absolute-path': 'off',
217217
'import/newline-after-import': ['error', { count: 1, considerComments: true }],
218+
'import/no-self-import': 'error',
218219

219220
// Common
220221
'semi': ['error', 'never'],

0 commit comments

Comments
 (0)
Please sign in to comment.