1
1
/** @type {import("eslint").Linter.Config } */
2
2
const config = {
3
- " parser" : "@typescript-eslint/parser" ,
4
- " parserOptions" : {
5
- " project" : true
3
+ parser : "@typescript-eslint/parser" ,
4
+ parserOptions : {
5
+ project : true ,
6
6
} ,
7
- "plugins" : [
8
- "@typescript-eslint"
9
- ] ,
10
- "extends" : [
7
+ plugins : [ "@typescript-eslint" ] ,
8
+ extends : [
11
9
"next/core-web-vitals" ,
12
10
"plugin:@typescript-eslint/recommended-type-checked" ,
13
- "plugin:@typescript-eslint/stylistic-type-checked"
11
+ "plugin:@typescript-eslint/stylistic-type-checked" ,
14
12
] ,
15
- " rules" : {
13
+ rules : {
16
14
"@typescript-eslint/array-type" : "off" ,
17
15
"@typescript-eslint/consistent-type-definitions" : "off" ,
16
+ "@typescript-eslint/no-unsafe-member-access" : "off" ,
17
+ "@typescript-eslint/no-unsafe-argument" : "off" ,
18
+ "@typescript-eslint/no-unsafe-call" : "off" ,
19
+ "@typescript-eslint/no-unsafe-return" : "off" ,
20
+ "@typescript-eslint/no-unsafe-assignment" : "off" ,
21
+ "@typescript-eslint/restrict-plus-operands" : "off" ,
18
22
"@typescript-eslint/consistent-type-imports" : [
19
23
"warn" ,
20
24
{
21
- " prefer" : "type-imports" ,
22
- " fixStyle" : "inline-type-imports"
23
- }
25
+ prefer : "type-imports" ,
26
+ fixStyle : "inline-type-imports" ,
27
+ } ,
24
28
] ,
25
29
"@typescript-eslint/no-unused-vars" : [
26
30
"warn" ,
27
31
{
28
- " argsIgnorePattern" : "^_"
29
- }
32
+ argsIgnorePattern : "^_" ,
33
+ } ,
30
34
] ,
31
35
"@typescript-eslint/require-await" : "off" ,
32
36
"@typescript-eslint/no-misused-promises" : [
33
37
"error" ,
34
38
{
35
- " checksVoidReturn" : {
36
- " attributes" : false
37
- }
38
- }
39
- ]
40
- }
41
- }
42
- module . exports = config ;
39
+ checksVoidReturn : {
40
+ attributes : false ,
41
+ } ,
42
+ } ,
43
+ ] ,
44
+ } ,
45
+ } ;
46
+ module . exports = config ;
0 commit comments