forked from keplergl/kepler.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
65 lines (65 loc) · 1.38 KB
/
.eslintrc
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
{
"extends": [
"uber-jsx",
"uber-es2015",
"prettier",
"plugin:prettier/recommended",
"prettier/react",
"plugin:react-hooks/recommended",
"plugin:jest/recommended"
],
"env": {
"es6": true,
"browser": true,
"node": true,
"jest/globals": true
},
"globals": {
"page": true,
"browser": true,
"context": true,
"jestPuppeteer": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["babel", "prettier", "react", "@typescript-eslint", "enzyme-deprecation"],
"rules": {
"valid-jsdoc": 0,
"no-var": 0,
"max-len": 0,
"react/no-did-mount-set-state": 0,
"react/no-multi-comp": 0,
"react/sort-comp": 0,
"no-use-before-define": "off",
"prefer-spread": 1,
"prefer-template": 1,
"prettier/prettier": "error",
"quote-props": 1,
"spaced-comment": 1,
"max-params": 0,
"no-multiple-empty-lines": 1,
"no-process-env": 0,
"no-inline-comments": 0,
"no-invalid-this": 0,
"no-unused-expressions": 0,
"no-undef": 0,
"camelcase": 0,
"consistent-return": 0,
"comma-dangle": 1,
"enzyme-deprecation/no-shallow": 2,
"enzyme-deprecation/no-mount": 2
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"no-undef": 0,
"no-unused-vars": 0,
},
},
],
"settings": {
"react": {
"version": "detect"
}
}
}