Commit b0101120 authored by Jiachi Liu's avatar Jiachi Liu Committed by Zack Tanner

test: fix eslint plugin test (#75687)

parent 38a6d017
...@@ -82,6 +82,44 @@ describe('eslint plugin deps', () => { ...@@ -82,6 +82,44 @@ describe('eslint plugin deps', () => {
{ "allowComparingNullableBooleansToTrue": false } { "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",
]
} }
`, `,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment