feat: ban requrie imports in ts file (#165)
This commit is contained in:
parent
ebb96c422e
commit
78b405f91a
@ -71,6 +71,7 @@ module.exports = {
|
|||||||
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports', disallowTypeAnnotations: false }],
|
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports', disallowTypeAnnotations: false }],
|
||||||
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
||||||
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
||||||
|
'@typescript-eslint/no-require-imports': 'error',
|
||||||
|
|
||||||
// Override JS
|
// Override JS
|
||||||
'no-useless-constructor': 'off',
|
'no-useless-constructor': 'off',
|
||||||
|
Loading…
Reference in New Issue
Block a user