Skip to content
Merged
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
8 changes: 7 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pluginJest from 'eslint-plugin-jest';
import importPlugin from 'eslint-plugin-import';
import pluginReact from 'eslint-plugin-react';
// eslint-disable-next-line import/no-unresolved
import tseslint from 'typescript-eslint';

/** @type {import('eslint').Linter.Config[]} */
Expand Down Expand Up @@ -31,7 +30,7 @@
pluginJs.configs.recommended,
importPlugin.flatConfigs.recommended,
importPlugin.flatConfigs.typescript,
...tseslint.configs.recommended,

Check warning on line 33 in eslint.config.mjs

View workflow job for this annotation

GitHub Actions / Lint

Caution: `tseslint` also has a named export `configs`. Check if you meant to write `import {configs} from 'typescript-eslint'` instead

{
rules: {
Expand Down Expand Up @@ -156,5 +155,12 @@
'prefer-arrow-callback': 'off',
'@typescript-eslint/no-require-imports': 'off',
},
},
{
settings: {
'import/resolver': {
typescript: {},
},
},
}
);
Loading