-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
44 lines (44 loc) · 930 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
extends:
- "eslint:recommended"
- "airbnb-typescript/base"
parserOptions:
project: "./tsconfig.json"
env:
browser: true
node: true
jest: true
rules:
"@typescript-eslint/no-misused-promises":
- "error"
"@typescript-eslint/no-unused-vars":
- "error"
- argsIgnorePattern: "type|_*"
"@typescript-eslint/indent": "off"
class-methods-use-this: "off"
consistent-return: "off"
func-names: "off"
global-require: "off"
import/no-cycle: "off"
import/prefer-default-export: "off"
import/extensions: "off"
import/no-extraneous-dependencies: "off"
max-classes-per-file: "off"
max-len:
- "error"
- code: 120
no-bitwise:
- "error"
- allow:
- "^"
no-param-reassign: "off"
no-unused-vars: "off"
object-curly-newline:
- "error"
- consistent: true
overrides:
- files:
- "tests/*.test.ts"
rules:
no-await-in-loop: "off"
ignorePatterns:
- "build/"