forked from amilajack/popcorn-time-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
52 lines (52 loc) · 1.31 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
{
"extends": [
"airbnb",
"bliss",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"rules": {
"class-methods-use-this": "off",
"flowtype/boolean-style": ["error", "boolean"],
"flowtype/no-weak-types": "error",
"fp/no-arguments": "off",
"fp/no-class": "off",
"fp/no-delete": "off",
"fp/no-events": "off",
"fp/no-get-set": "off",
"fp/no-let": "off",
"fp/no-loops": "off",
"fp/no-mutating-assign": "off",
"fp/no-mutating-methods": "off",
"fp/no-mutation": "off",
"fp/no-nil": "off",
"fp/no-proxy": "off",
"fp/no-rest-parameters": "off",
"fp/no-this": "off",
"fp/no-throw": "off",
"fp/no-unused-expression": "off",
"fp/no-valueof-field": "off",
"import/no-extraneous-dependencies": "off",
"no-var": "off",
"no-let": "off",
"no-plusplus": "off",
"no-use-before-define": "off",
"no-console": "off",
"promise/avoid-new": "off",
"react/sort-comp": ["error", {
"order": ["type-annotations", "properties", "constructor", "static-methods", "everything-else", "lifecycle", "render"]
}]
},
"settings": {
"import/extensions": [".jsx", ".js"],
"webpack": {
"config": "webpack.config.eslint.js"
}
}
}