File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ const baseRules: Linter.RulesRecord = {
7171 'no-undef' : 'off' ,
7272 '@typescript-eslint/no-namespace' : 'off' ,
7373 '@typescript-eslint/restrict-template-expressions' : 'off' ,
74+ '@typescript-eslint/consistent-type-imports' : 'error' ,
7475
7576 // Disable rules that turn `any` into `unknown`, places where `unknown` is the preferred type
7677 // have that type already.
Original file line number Diff line number Diff line change 1- import { AST_TOKEN_TYPES , AST_NODE_TYPES , TSESTree } from '@typescript-eslint/utils' ;
1+ import type { TSESTree } from '@typescript-eslint/utils' ;
2+ import { AST_TOKEN_TYPES , AST_NODE_TYPES } from '@typescript-eslint/utils' ;
23import { isCommentToken } from '@typescript-eslint/utils/ast-utils' ;
34import { createRule } from '../createRule' ;
45
Original file line number Diff line number Diff line change 11import { AST_NODE_TYPES } from '@typescript-eslint/utils' ;
2- import { RuleFix } from '@typescript-eslint/utils/ts-eslint' ;
2+ import type { RuleFix } from '@typescript-eslint/utils/ts-eslint' ;
33import { createRule } from '../createRule' ;
44
55export const parameterDestructuring = createRule ( {
You can’t perform that action at this time.
0 commit comments