Skip to content

Commit 74825bc

Browse files
authored
fix: ignore js build files in eslint (Kong#9525)
1 parent f720275 commit 74825bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ export default defineConfig([
220220
'**/verify-pkg.js',
221221
'**/__mocks__/*',
222222
'**/.react-router/*',
223+
'packages/insomnia/src/*.js',
223224
],
224225
},
225226
// Main process ESLint rules

packages/insomnia-inso/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"skipLibCheck": true,
66
"target": "es2022",
77
"allowJs": true,
8-
"checkJs": true,
98
"resolveJsonModule": true,
109
"moduleResolution": "bundler",
1110
"isolatedModules": true,
@@ -25,7 +24,7 @@
2524
"noFallthroughCasesInSwitch": true,
2625
"useUnknownInCatchVariables": false
2726
},
28-
"include": [".eslintrc.js", "esbuild.ts", "package.json", "src", "../insomnia/types"],
27+
"include": ["esbuild.ts", "package.json", "src", "../insomnia/types"],
2928
"exclude": [
3029
"**/*.test.ts",
3130
"**/__mocks__/*",

0 commit comments

Comments
 (0)