mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
084dc0be08
* 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
|
|
}
|
|
}
|