-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
87 lines (77 loc) · 1.75 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
extends:
- "@postmates"
- plugin:jest/recommended
parser: babel-eslint
env:
jest/globals: true
plugins:
- jest
- typescript
globals:
window: true
document: true
__DEV__: true
__ENV__: true
settings:
import/resolver:
webpack:
config: webpack.config.js
rules:
import/prefer-default-export: off
arrow-parens: off
import/no-webpack-loader-syntax: off
no-mixed-operators: off
no-throw-literal: off
no-restricted-syntax: off
react/style-prop-object: off
no-prototype-builtins: off
react/no-array-index-key: off
react/sort-comp: off
no-continue: off
default-case: off
bfe/no-default-emotion-import: off
react/jsx-filename-extension:
- error
- extensions:
- .jsx
- .tsx
import/extensions:
- js: never
jsx: never
ts: never
tsx: never
- error
- always
import/no-extraneous-dependencies:
- error
- devDependencies:
- '**/*.spec.js'
- '**/*.spec.jsx'
- '**/*.spec.ts'
- '**/*.spec.tsx'
- webpack.config.js
overrides:
- parser: "typescript-eslint-parser"
files:
- '*.ts'
- '*.tsx'
rules:
no-useless-constructor: off
no-undef: off
no-unused-vars: off
typescript/no-unused-vars: off
react/prop-types: off
arrow-parens: error
no-param-reassign: off
space-infix-ops: off
import/export: off
import/no-duplicates: off
no-use-before-define: off
no-shadow: off
require-yield: off
consistent-return: off
typescript/adjacent-overload-signatures: error
typescript/member-delimiter-style: error
typescript/no-angle-bracket-type-assertion: error
typescript/type-annotation-spacing: error
bfe/no-default-emotion-import: off