Skip to content

Commit 658e0ac

Browse files
authored
Fix ESLint import resolution errors in dummy app (#1793)
Disable import/no-unresolved rule for spec/dummy/** files since the dummy app dependencies are managed separately and may not be installed during linting.
1 parent 9e23eb2 commit 658e0ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

eslint.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ const config = tsEslint.config([
159159
'react/prop-types': 'off',
160160
},
161161
},
162+
{
163+
files: ['spec/dummy/**/*'],
164+
rules: {
165+
// The dummy app dependencies are managed separately and may not be installed
166+
'import/no-unresolved': 'off',
167+
},
168+
},
162169
{
163170
files: ['**/*.ts{x,}', '**/*.[cm]ts'],
164171

0 commit comments

Comments
 (0)