Skip to content

Commit

Permalink
chore: add import/consistent-type-specifier-style lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Aug 28, 2023
1 parent c4fcc90 commit 0bad299
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"message": "Please only use the namespace import syntax (`import * as React from 'react'`) for React imports!"
}
],
"import/consistent-type-specifier-style": [
"error",
"prefer-top-level"
],
"import/extensions": [
"error",
"always",
Expand Down

0 comments on commit 0bad299

Please sign in to comment.