-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.eslintrc.yml
More file actions
30 lines (30 loc) · 808 Bytes
/
.eslintrc.yml
File metadata and controls
30 lines (30 loc) · 808 Bytes
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
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
# - standard-with-typescript
- prettier #Disables all rules that conflict with prettier
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
rules:
no-tabs: off
indent: off
"@typescript-eslint/indent": off
"@typescript-eslint/space-before-function-paren": off
"@typescript-eslint/explicit-function-return-type": off
"no-return-await": off
"@typescript-eslint/return-await": off
"@typescript-eslint/no-unused-vars": warn
"@typescript-eslint/restrict-template-expressions": off
env:
jest: true
node: true
es2021: true
overrides:
- files:
- "**/*.test.ts"
rules:
"@typescript-eslint/no-unused-expressions": off
parserOptions:
project: ./tsconfig.json
tsconfigRootDir: .