File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
define-config/__snapshots__ Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ exports[`is a valid Oxlint config 1`] = `
338338 " typescript/no-unsafe-type-assertion" : " off" ,
339339 " typescript/no-unsafe-unary-minus" : " error" ,
340340 " typescript/no-useless-empty-export" : " error" ,
341+ " typescript/no-var-requires" : " off" ,
341342 " typescript/only-throw-error" : [
342343 " error" ,
343344 {
Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ const config: LinterConfigEntry = {
263263 'typescript/no-unsafe-type-assertion' : 'off' ,
264264 'typescript/no-unsafe-unary-minus' : 'error' ,
265265 'typescript/no-useless-empty-export' : 'error' ,
266+ 'typescript/no-var-requires' : 'off' ,
266267 'typescript/only-throw-error' : [ 'error' , { allowThrowingAny : false } ] ,
267268 'typescript/prefer-enum-initializers' : 'off' ,
268269 'typescript/prefer-literal-enum-member' : 'off' ,
Original file line number Diff line number Diff line change @@ -503,6 +503,7 @@ exports[`defines a valid Oxlint config 1`] = `
503503 " typescript/no-unsafe-type-assertion" : " off" ,
504504 " typescript/no-unsafe-unary-minus" : " error" ,
505505 " typescript/no-useless-empty-export" : " error" ,
506+ " typescript/no-var-requires" : " off" ,
506507 " typescript/only-throw-error" : [
507508 " error" ,
508509 {
@@ -1325,6 +1326,7 @@ exports[`supports the \`react\` option 1`] = `
13251326 " typescript/no-unsafe-type-assertion" : " off" ,
13261327 " typescript/no-unsafe-unary-minus" : " error" ,
13271328 " typescript/no-useless-empty-export" : " error" ,
1329+ " typescript/no-var-requires" : " off" ,
13281330 " typescript/only-throw-error" : [
13291331 " error" ,
13301332 {
You can’t perform that action at this time.
0 commit comments