Skip to content

Commit

Permalink
feat: ban requrie imports in ts file (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Apr 10, 2023
1 parent ebb96c4 commit 78b405f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-ts/index.js
Expand Up @@ -71,6 +71,7 @@ module.exports = {
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports', disallowTypeAnnotations: false }],
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
'@typescript-eslint/prefer-ts-expect-error': 'error',
'@typescript-eslint/no-require-imports': 'error',

// Override JS
'no-useless-constructor': 'off',
Expand Down

0 comments on commit 78b405f

Please sign in to comment.