-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
37 lines (33 loc) · 1 KB
/
.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
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md
# https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/TYPED_LINTING.md
root: true
env:
node: true
overrides:
# Linter settings for JavaScript
- files: ["**/*.js"]
parserOptions:
ecmaVersion: 2020
env:
es6: true
extends:
- eslint:recommended
# Linter settings for TypeScript
- files: ["**/*.ts"]
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2020
sourceType: module
project: tsconfig.json
plugins:
- "@typescript-eslint"
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
rules:
no-case-declarations: off
"@typescript-eslint/ban-types": off
"@typescript-eslint/no-non-null-assertion": off