Commit 7cd5124
committed
fix(eslint): add .mjs files to test file pattern for import resolution
The ESLint config was only disabling import resolution checks for .ts and
.mts test files, but not .mjs files. This caused linting failures for
test/integration/esm-imports.test.mjs.
- Add 'test/**/*.mjs' to the test files pattern
- Disables n/no-missing-import and import-x/no-unresolved for .mjs tests
- Fixes lint errors: "Unable to resolve path to module @socketsecurity/lib/globs"1 parent 1c9e4b8 commit 7cd5124
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| |||
0 commit comments