Skip to content

Commit

Permalink
chore(rules): standardize usage of file extensions in imports (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartel authored Feb 4, 2025
1 parent 7b424ef commit 6f79ae5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rules/base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ export const base = [

'unicorn/switch-case-braces': ['error', 'avoid'],

'import-x/extensions': [
'error',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
},
],
'import-x/no-self-import': 'error',
'import-x/no-cycle': 'error',
'import-x/no-useless-path-segments': 'error',
Expand Down

0 comments on commit 6f79ae5

Please # to comment.