|
10 | 10 | "suspicious": "error" |
11 | 11 | }, |
12 | 12 | "env": { |
13 | | - "browser": true |
| 13 | + "es2022": true, |
| 14 | + "shared-node-browser": true |
14 | 15 | }, |
15 | 16 | "plugins": [ |
16 | 17 | "typescript", |
|
30 | 31 | ], |
31 | 32 | "@typescript-eslint/no-explicit-any": "off", |
32 | 33 | "@typescript-eslint/no-unsafe-declaration-merging": "off", |
33 | | - "eslint/curly": "off", |
| 34 | + "eslint/curly": "error", |
34 | 35 | "eslint/max-depth": "off", |
35 | 36 | "eslint/max-lines": "off", |
36 | 37 | "eslint/max-lines-per-function": "off", |
|
64 | 65 | "no-optional-chaining": "off", |
65 | 66 | "no-ternary": "off", |
66 | 67 | "no-undefined": "off", |
67 | | - "no-unexpected-multiline": "off", |
68 | 68 | "oxc/no-barrel-file": "off", |
69 | 69 | "oxc/no-rest-spread-properties": "off", |
70 | | - "prefer-promise-reject-errors": "off", |
71 | 70 | "promise/catch-or-return": "off", |
72 | | - "promise/no-nesting": "off", |
73 | | - "promise/no-return-wrap": "off", |
74 | | - "promise/prefer-await-to-callbacks": "off", |
75 | | - "promise/prefer-await-to-then": "off", |
76 | 71 | "sort-imports": "off", |
77 | 72 | "sort-keys": "off", |
78 | 73 | "sort-vars": "off", |
79 | 74 | "typescript/consistent-indexed-object-style": "error", |
80 | 75 | "typescript/explicit-function-return-type": "off", |
81 | 76 | "typescript/no-empty-interface": "off", |
82 | | - "unicorn/empty-brace-spaces": "off", |
83 | 77 | "unicorn/error-message": "off", |
84 | 78 | "unicorn/filename-case": [ |
85 | 79 | "error", |
|
102 | 96 | "withinDescribe": "test" |
103 | 97 | } |
104 | 98 | ], |
105 | | - "vitest/max-expects": "off", |
106 | | - "vitest/no-hooks": "off", |
107 | | - "vitest/prefer-lowercase-title": "off", |
| 99 | + "vitest/max-expects": "off", |
| 100 | + "vitest/no-hooks": "off", |
| 101 | + "vitest/prefer-lowercase-title": "off", |
108 | 102 | "vitest/prefer-strict-equal": "off", |
109 | 103 | "vitest/prefer-to-be-falsy": "off", |
110 | 104 | "vitest/prefer-to-be-truthy": "off", |
|
0 commit comments