Skip to content

Commit b010112

Browse files
huozhiztanner
authored andcommitted
test: fix eslint plugin test (#75687)
1 parent 38a6d01 commit b010112

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

test/production/eslint-plugin-deps/index.test.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,44 @@ describe('eslint plugin deps', () => {
8282
{ "allowComparingNullableBooleansToTrue": false }
8383
]
8484
}
85+
}
86+
`,
87+
'tsconfig.json': `{
88+
"compilerOptions": {
89+
"target": "ES2017",
90+
"lib": [
91+
"dom",
92+
"dom.iterable",
93+
"esnext"
94+
],
95+
"allowJs": true,
96+
"skipLibCheck": true,
97+
"strict": false,
98+
// The rule @typescript-eslint/no-unnecessary-boolean-literal-compare requires the \`strictNullChecks\` compiler option to be turned on to function correctly.
99+
"strictNullChecks": true,
100+
"noEmit": true,
101+
"incremental": true,
102+
"module": "esnext",
103+
"esModuleInterop": true,
104+
"moduleResolution": "node",
105+
"resolveJsonModule": true,
106+
"isolatedModules": true,
107+
"jsx": "preserve",
108+
"plugins": [
109+
{
110+
"name": "next"
111+
}
112+
]
113+
},
114+
"include": [
115+
"next-env.d.ts",
116+
".next/types/**/*.ts",
117+
"**/*.ts",
118+
"**/*.tsx"
119+
],
120+
"exclude": [
121+
"node_modules",
122+
]
85123
}
86124
`,
87125
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy