2021-10-30 18:04:07 +00:00
|
|
|
{
|
2025-06-23 08:13:43 +00:00
|
|
|
"root": true,
|
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
|
"env": { "node": true },
|
|
|
|
|
"plugins": ["@typescript-eslint", "import"],
|
|
|
|
|
"extends": [
|
|
|
|
|
"eslint:recommended",
|
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
|
"plugin:@typescript-eslint/recommended"
|
|
|
|
|
],
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
"sourceType": "module"
|
|
|
|
|
},
|
|
|
|
|
"rules": {
|
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
|
"no-prototype-builtins": "off",
|
|
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
|
|
|
"import/order": [
|
|
|
|
|
"warn",
|
|
|
|
|
{
|
|
|
|
|
"groups": [
|
|
|
|
|
"builtin",
|
|
|
|
|
"external",
|
|
|
|
|
"internal",
|
|
|
|
|
"parent",
|
|
|
|
|
"sibling",
|
|
|
|
|
"index",
|
|
|
|
|
"object",
|
|
|
|
|
"type"
|
|
|
|
|
],
|
|
|
|
|
"pathGroups": [
|
|
|
|
|
{
|
|
|
|
|
"pattern": "src/**",
|
|
|
|
|
"group": "internal",
|
|
|
|
|
"position": "after"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"pathGroupsExcludedImportTypes": ["builtin"],
|
|
|
|
|
"newlines-between": "always",
|
|
|
|
|
"alphabetize": {
|
|
|
|
|
"order": "asc",
|
|
|
|
|
"caseInsensitive": true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|