Skip to content

Commit

Permalink
test: fix eslint plugin test (#75687)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored and ztanner committed Feb 10, 2025
1 parent 38a6d01 commit b010112
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions test/production/eslint-plugin-deps/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,44 @@ describe('eslint plugin deps', () => {
{ "allowComparingNullableBooleansToTrue": false }
]
}
}
`,
'tsconfig.json': `{
"compilerOptions": {
"target": "ES2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
// The rule @typescript-eslint/no-unnecessary-boolean-literal-compare requires the \`strictNullChecks\` compiler option to be turned on to function correctly.
"strictNullChecks": true,
"noEmit": true,
"incremental": true,
"module": "esnext",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
]
},
"include": [
"next-env.d.ts",
".next/types/**/*.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules",
]
}
`,
},
Expand Down

0 comments on commit b010112

Please sign in to comment.