Skip to content

Commit 0d53c2e

Browse files
fix(eslint): enable consistent-type-specifier-style (#157)
1 parent 182b8ae commit 0d53c2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/config/src/eslint/import.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
/** @type {import('eslint').Linter.RulesRecord} */
44
export const importRules = {
5+
/** Bans the use of inline type-only markers for named imports */
6+
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
57
/** Reports any imports that come after non-import statements */
68
'import/first': 'error',
79
/** Stylistic preference */

0 commit comments

Comments
 (0)