Skip to content

Commit

Permalink
chore(lint): Add rules to aid fixing of import type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ribose-jeffreylau committed Aug 18, 2023
1 parent a8216a3 commit 96c2990
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,15 @@ var rules = {
'no-empty-function' : 'off',
'react/prop-types' : 'off',
'react/no-unknown-property' : ['error', { ignore : ['css'] }],
'@typescript-eslint/consistent-type-imports' : [
'error',
{
prefer: 'type-imports',
fixStyle: 'separate-type-imports',
}
],
'@typescript-eslint/no-empty-function' : 'off',
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/no-non-null-asserted-nullish-coalescing' : 'warn',
'no-unused-vars' : 'off',
'@typescript-eslint/no-unused-vars' : 'warn',
Expand Down

0 comments on commit 96c2990

Please sign in to comment.