blob: 5e3235595f443e0bad875f400cc618bead2574cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import eslint from "@eslint/js"
import tseslint from "typescript-eslint"
import stylistic from "@stylistic/eslint-plugin"
export default tseslint.config({
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
stylistic.configs.customize({
semi: false,
indent: 4,
quotes: "double",
}),
],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@stylistic/new-parens": "off",
"@stylistic/brace-style": ["error", "1tbs", { allowSingleLine: true }],
},
})
|