Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const baseRules: Linter.RulesRecord = {
'no-undef': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/consistent-type-imports': 'error',

// Disable rules that turn `any` into `unknown`, places where `unknown` is the preferred type
// have that type already.
Expand Down
3 changes: 2 additions & 1 deletion src/rules/min-chained-call-depth/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {AST_TOKEN_TYPES, AST_NODE_TYPES, TSESTree} from '@typescript-eslint/utils';
import type {TSESTree} from '@typescript-eslint/utils';
import {AST_TOKEN_TYPES, AST_NODE_TYPES} from '@typescript-eslint/utils';
import {isCommentToken} from '@typescript-eslint/utils/ast-utils';
import {createRule} from '../createRule';

Expand Down
2 changes: 1 addition & 1 deletion src/rules/parameter-destructuring/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {AST_NODE_TYPES} from '@typescript-eslint/utils';
import {RuleFix} from '@typescript-eslint/utils/ts-eslint';
import type {RuleFix} from '@typescript-eslint/utils/ts-eslint';
import {createRule} from '../createRule';

export const parameterDestructuring = createRule({
Expand Down
Loading