35 lines
825 B
Plaintext
35 lines
825 B
Plaintext
|
{
|
||
|
"env": { "browser": true, "es2020": true },
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:prettier/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
|
||
|
"plugins": ["import"],
|
||
|
"rules": {
|
||
|
"@typescript-eslint/consistent-type-imports": "error",
|
||
|
"prettier/prettier": ["warn", { "endOfLine": "auto" }],
|
||
|
"no-console": "warn",
|
||
|
"prefer-const": "error",
|
||
|
"comma-dangle": ["warn", "never"],
|
||
|
"semi": ["warn", "always"],
|
||
|
"import/order": [
|
||
|
"warn",
|
||
|
{
|
||
|
"groups": [
|
||
|
"builtin",
|
||
|
"external",
|
||
|
"internal",
|
||
|
"parent",
|
||
|
"sibling",
|
||
|
"index",
|
||
|
"object",
|
||
|
"type"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|