41 lines
808 B
JSON
41 lines
808 B
JSON
|
|
{
|
||
|
|
"root": true,
|
||
|
|
"env": {
|
||
|
|
"node": true,
|
||
|
|
"es2022": true
|
||
|
|
},
|
||
|
|
"parser": "@typescript-eslint/parser",
|
||
|
|
"parserOptions": {
|
||
|
|
"project": "./tsconfig.json",
|
||
|
|
"sourceType": "module"
|
||
|
|
},
|
||
|
|
"plugins": ["@typescript-eslint", "import"],
|
||
|
|
"extends": [
|
||
|
|
"eslint:recommended",
|
||
|
|
"plugin:@typescript-eslint/recommended",
|
||
|
|
"plugin:import/recommended",
|
||
|
|
"plugin:import/typescript",
|
||
|
|
"prettier"
|
||
|
|
],
|
||
|
|
"settings": {
|
||
|
|
"import/resolver": {
|
||
|
|
"typescript": {}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"rules": {
|
||
|
|
"import/order": [
|
||
|
|
"error",
|
||
|
|
{
|
||
|
|
"newlines-between": "always",
|
||
|
|
"alphabetize": { "order": "asc", "caseInsensitive": true }
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"@typescript-eslint/ban-ts-comment": [
|
||
|
|
"error",
|
||
|
|
{
|
||
|
|
"ts-expect-error": "allow-with-description"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|