38 lines
771 B
JSON
38 lines
771 B
JSON
{
|
|
"env": {
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {
|
|
"project": "./tsconfig.json"
|
|
}
|
|
}
|
|
},
|
|
"rules": {
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"alphabetize": { "order": "asc", "caseInsensitive": true },
|
|
"newlines-between": "always"
|
|
}
|
|
],
|
|
"import/no-named-as-default": "off",
|
|
"import/no-named-as-default-member": "off"
|
|
}
|
|
}
|