Skip to content

Commit 4580e1e

Browse files
committed
eslint: lint the ESLint configuration ;-)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent fcb47de commit 4580e1e

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

eslint.config.mjs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,8 @@ export default tseslint.config(
3333

3434
rules: {
3535
...eslintConfigPrettier.rules,
36-
"@stylistic/function-call-argument-newline": [
37-
"warn",
38-
"consistent",
39-
],
40-
"@stylistic/function-paren-newline": [
41-
"error",
42-
"consistent",
43-
],
36+
"@stylistic/function-call-argument-newline": ["warn", "consistent"],
37+
"@stylistic/function-paren-newline": ["error", "consistent"],
4438
"@stylistic/max-len": [
4539
"error",
4640
{
@@ -98,10 +92,7 @@ export default tseslint.config(
9892
},
9993
],
10094

101-
"max-classes-per-file": [
102-
"error",
103-
2,
104-
],
95+
"max-classes-per-file": ["error", 2],
10596

10697
"no-bitwise": "error",
10798
"no-caller": "error",

0 commit comments

Comments
 (0)