Subd/server/.eslintrc

35 lines
825 B
Plaintext
Raw Permalink Normal View History

2024-04-23 12:08:46 +04:00
{
"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"
]
}
]
}
}