mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-25 03:33:33 +01:00
71082eb918
* Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
12 lines
401 B
Plaintext
12 lines
401 B
Plaintext
{
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"root": true,
|
|
"rules": {
|
|
"no-mixed-spaces-and-tabs": "off",
|
|
"@typescript-eslint/no-inferrable-types": "off", // Required by typeorm
|
|
"@typescript-eslint/no-var-requires": "off" // Sometimes requred by typeorm to resolve circular deps
|
|
}
|
|
}
|