Skip to content

Commit f541c82

Browse files
style(lint): fix eslint errors
1 parent 4b8ef98 commit f541c82

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

eslint.config.ts

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import style, { GLOB_JS, GLOB_TSX } from "@isentinel/eslint-config";
1+
import style, { GLOB_TS } from "@isentinel/eslint-config";
22

33
export default style(
44
{
@@ -19,6 +19,18 @@ export default style(
1919
type: "natural",
2020
},
2121
],
22+
},
23+
typescript: {
24+
parserOptions: {
25+
project: "tsconfig.build.json",
26+
},
27+
tsconfigPath: "tsconfig.build.json",
28+
},
29+
},
30+
{
31+
files: [GLOB_TS],
32+
rules: {
33+
"no-param-reassign": "error",
2234
"ts/no-magic-numbers": [
2335
"error",
2436
{
@@ -29,20 +41,11 @@ export default style(
2941
},
3042
],
3143
},
32-
typescript: {
33-
parserOptions: {
34-
project: "tsconfig.build.json",
35-
},
36-
tsconfigPath: "tsconfig.build.json",
37-
},
38-
},
39-
{
40-
ignores: [GLOB_JS],
4144
},
4245
{
43-
files: [GLOB_TSX],
46+
files: ["src/client/ui/hooks/**/*"],
4447
rules: {
45-
"ts/no-magic-numbers": "off",
48+
"max-lines-per-function": "off",
4649
},
4750
},
4851
);

0 commit comments

Comments
 (0)