Skip to content

Commit

Permalink
fix(eslint): enable consistent-type-specifier-style (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Aug 30, 2024
1 parent 182b8ae commit 0d53c2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/config/src/eslint/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

0 comments on commit 0d53c2e

Please sign in to comment.