File tree 1 file changed +21
-14
lines changed
components/log-viewer-webui/server
1 file changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -15,32 +15,39 @@ const EslintConfig = [
15
15
...StylisticConfigArray ,
16
16
{
17
17
rules : {
18
- "@typescript-eslint/require-await" : [
19
- // Fastify recommends async syntax, but not all plugins require Promise resolution
20
- // in their function bodies.
21
- "off" ,
18
+ "new-cap" : [
19
+ "error" ,
20
+ {
21
+ // TypeBox imports
22
+ capIsNewExceptions : [
23
+ "Type.Enum" ,
24
+ "Type.Integer" ,
25
+ ] ,
26
+ } ,
22
27
] ,
28
+ } ,
29
+ } ,
30
+ {
31
+ files : [
32
+ "**/*.ts" ,
33
+ ] ,
34
+ rules : {
23
35
"@typescript-eslint/no-floating-promises" : [
24
36
"error" ,
25
37
{
26
38
allowForKnownSafeCalls : [
27
39
{
28
40
from : "package" ,
29
41
name : "test" ,
30
- package : "tap"
42
+ package : "tap" ,
31
43
} ,
32
44
] ,
33
45
} ,
34
46
] ,
35
- "new-cap" : [
36
- "error" ,
37
- {
38
- // TypeBox imports
39
- capIsNewExceptions : [
40
- "Type.Enum" ,
41
- "Type.Integer" ,
42
- ] ,
43
- } ,
47
+ "@typescript-eslint/require-await" : [
48
+ // Fastify recommends async syntax, but not all plugins require Promise resolution
49
+ // in their function bodies.
50
+ "off" ,
44
51
] ,
45
52
} ,
46
53
} ,
You can’t perform that action at this time.
0 commit comments