Skip to content

Commit

Permalink
fix: fix type import conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Mar 26, 2023
1 parent 755bfca commit e4d9f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion import.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'import/ignore': ['node_modules', '\\.(coffee|scss|css|less|hbs|svg|json)$'],
},
rules: {
'import/consistent-type-specifier-style': ['warn', 'prefer-inline'],
'import/consistent-type-specifier-style': ['warn', 'prefer-top-level'],
'import/default': 'error',
'import/dynamic-import-chunkname': 'off',
'import/export': 'error',
Expand Down
2 changes: 1 addition & 1 deletion typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
'@typescript-eslint/consistent-type-imports': [
'warn',
{ prefer: 'type-imports', disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' },
{ prefer: 'type-imports', disallowTypeAnnotations: false, fixStyle: 'separate-type-imports' },
],
'@typescript-eslint/default-param-last': 'warn',
'@typescript-eslint/explicit-function-return-type': 'off',
Expand Down

0 comments on commit e4d9f6a

Please sign in to comment.