Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tooling/eslint/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ export default tseslint.config(
varsIgnorePattern: '^_',
},
],
'@typescript-eslint/consistent-type-imports': [
'warn',
{ prefer: 'type-imports', fixStyle: 'inline-type-imports' },
],
// Disabled: Let prettier handle type import style via @ianvs/prettier-plugin-sort-imports
// '@typescript-eslint/consistent-type-imports': [
// 'warn',
// { prefer: 'type-imports', fixStyle: 'separate-type-imports' },
// ],
'@typescript-eslint/no-misused-promises': [
2,
{ checksVoidReturn: { attributes: false } },
Expand All @@ -73,7 +74,6 @@ export default tseslint.config(
},
],
'@typescript-eslint/no-non-null-assertion': 'error',
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion tooling/prettier/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const config = {
'^[./]',
],
importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'],
importOrderTypeScriptVersion: '4.4.0',
importOrderTypeScriptVersion: '5.8.2',
};

export default config;