-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
26 lines (25 loc) · 812 Bytes
/
eslint.config.js
File metadata and controls
26 lines (25 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import neostandard from "neostandard";
export default [
...neostandard({
ts: true,
noJsx: true,
semi: true,
ignores: ["dump.json"]
}),
{
rules: {
"@stylistic/arrow-parens": ["error", "always"],
"@stylistic/comma-dangle": ["error", "never"],
"@stylistic/operator-linebreak": ["error", "after"],
"@stylistic/member-delimiter-style": ["error", {
multiline: { delimiter: "none", requireLast: false },
multilineDetection: "brackets",
singleline: { delimiter: "comma" }
}],
"@stylistic/quotes": ["error", "double"],
"@stylistic/space-before-function-paren": ["error", "never"],
"no-console": ["warn", { allow: ["error", "warn", "table", "info"] }],
"no-else-return": ["error", { allowElseIf: true }]
}
}
];