-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
47 lines (46 loc) · 1011 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
45
46
47
extends:
- airbnb
- "plugin:@typescript-eslint/recommended"
parser: '@typescript-eslint/parser'
plugins:
- react
- "@typescript-eslint"
rules:
react/destructuring-assignment: off
"@typescript-eslint/ban-ts-ignore": off
"@typescript-eslint/explicit-function-return-type": off
'import/no-extraneous-dependencies':
- 'error'
-
devDependencies: ['**/*.spec.ts', '**/*.test.ts', '**/*.spec.tsx', '**/*.test.tsx']
optionalDependencies: false
import/extensions:
- error
- ignorePackages
- js: never
tsx: never
react/jsx-filename-extension:
- 1
- extensions:
- ".ts"
- ".tsx"
react/jsx-props-no-spreading: 0
parserOptions:
sourceType: "module"
ecmaFeatures:
jsx: true
settings:
'import/resolver':
node:
extensions:
- '.ts'
- '.tsx'
- '.js'
- '.jsx'
tryExtensions:
- '.ts'
- '.tsx'
- '.js'
- '.jsx'
flowtype:
onlyFilesWithFlowAnnotation: true