-
Notifications
You must be signed in to change notification settings - Fork 169
/
.eslintrc.yml
36 lines (36 loc) · 1010 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
env:
browser: true
commonjs: true
es6: true
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
- "prettier"
extends:
- "plugin:@typescript-eslint/recommended"
- "prettier/@typescript-eslint"
- "plugin:prettier/recommended"
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
rules:
"@typescript-eslint/explicit-function-return-type":
- warn
- allowExpressions: true
"@typescript-eslint/explicit-member-accessibility": off
"@typescript-eslint/ban-types": off
"@typescript-eslint/no-angle-bracket-type-assertion": off
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/no-non-null-assertion": off
"@typescript-eslint/no-parameter-properties": off
"@typescript-eslint/prefer-interface": off
"@typescript-eslint/indent": off
overrides:
- files:
- "*.test.ts"
- "*.spec.ts"
rules:
"@typescript-eslint/no-empty-function": off
"@typescript-eslint/interface-name-prefix": off