-
Notifications
You must be signed in to change notification settings - Fork 222
/
.eslintrc.yaml
38 lines (38 loc) · 1021 Bytes
/
.eslintrc.yaml
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
---
root: true
parser: "@typescript-eslint/parser"
parserOptions:
ecmaFeatures:
jsx: true
plugins:
- "@typescript-eslint"
extends:
- "eslint:recommended"
- "plugin:react/recommended"
- "plugin:@typescript-eslint/eslint-recommended"
- "plugin:@typescript-eslint/recommended"
- "plugin:prettier/recommended"
rules:
"@typescript-eslint/explicit-member-accessibility": error
"@typescript-eslint/explicit-module-boundary-types": off
"@typescript-eslint/interface-name-prefix": off
"@typescript-eslint/no-non-null-assertion": off
"@typescript-eslint/ban-ts-comment": off
"@typescript-eslint/ban-types": off
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/no-unused-vars":
- error
- ignoreRestSiblings: true
"react/display-name": off
"react/prop-types": off
"arrow-spacing": error
"curly": error
"no-duplicate-imports": error
"no-multiple-empty-lines": error
"no-var": error
"prefer-rest-params": 0
settings:
react:
version: detect
env:
node: true