Skip to content

Commit 806f66e

Browse files
committed
fix: resolve rebase conflicts\n\n- Finalize ESLint resolver settings (NodeNext + TS, broad extensions)\n- Bump eslint-import-resolver-typescript to ^4.4.4; fix duplicate key\n- Normalize pnpm-lock.yaml to HEAD variants
1 parent 8d596f8 commit 806f66e

3 files changed

Lines changed: 25 additions & 49 deletions

File tree

.eslintrc.cjs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module.exports = {
55
tsconfigRootDir: __dirname,
66
},
77
settings: {
8+
// Ensure import/no-unresolved can resolve NodeNext + TS paths where source files
9+
// use .js specifiers that map to .ts during authoring.
810
'import/resolver': {
911
typescript: {
1012
// Use the ESLint tsconfig which includes tests
@@ -13,14 +15,6 @@ module.exports = {
1315
},
1416
node: {
1517
extensions: ['.js', '.mjs', '.cjs', '.ts', '.mts', '.cts', '.d.ts']
16-
// Ensure import/no-unresolved can resolve NodeNext + TS paths where source files
17-
// use .js specifiers that map to .ts during authoring.
18-
'import/resolver': {
19-
typescript: {
20-
project: ['./tsconfig.eslint.json']
21-
},
22-
node: {
23-
extensions: ['.js', '.mjs', '.cjs', '.ts', '.mts', '.cts', '.d.ts']
2418
}
2519
}
2620
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"eslint": "8.57.0",
5959
"eslint-config-shellscape": "^6.0.0",
6060
"eslint-import-resolver-typescript": "^4.4.4",
61-
"eslint-import-resolver-typescript": "^3.10.1",
6261
"file-loader": "^6.2.0",
6362
"husky": "8.0.2",
6463
"lint-staged": "11.1.1",

pnpm-lock.yaml

Lines changed: 23 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)