Skip to content

Commit 78b405f

Browse files
authoredApr 10, 2023
feat: ban requrie imports in ts file (#165)
1 parent ebb96c4 commit 78b405f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

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

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = {
7171
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports', disallowTypeAnnotations: false }],
7272
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
7373
'@typescript-eslint/prefer-ts-expect-error': 'error',
74+
'@typescript-eslint/no-require-imports': 'error',
7475

7576
// Override JS
7677
'no-useless-constructor': 'off',

0 commit comments

Comments
 (0)
Please sign in to comment.