-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
97 lines (91 loc) · 2.03 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
extends:
- "eslint:recommended"
- "plugin:react/recommended"
- "plugin:jest/recommended"
parser: "@babel/eslint-parser"
parserOptions:
ecmaVersion: 7
sourceType: module
ecmaFeatures":
jsx: true
impliedStrict: true
env:
browser: true
es6: true
node: true
jest: true
plugins:
- standard
- eslint-plugin-promise
- eslint-plugin-react
- prettier
- lodash-fp
- jest
settings:
react:
createClass: createReactClass
pragma: React
version: 16.8.6
rules:
quotes:
- error
- double
no-console: off
trailing-comma: off
"prettier/prettier": error
camelcase:
- warn
- properties: always
eqeqeq:
- error
- allow-null
no-eval: error
no-shadow-restricted-names: error
no-this-before-super: error
no-unneeded-ternary:
- error
- defaultAssignment: false
no-with: error
comma-dangle:
- error
- never
lodash-fp/consistent-compose: off
lodash-fp/consistent-name:
- error
- f
lodash-fp/no-argumentless-calls: error
lodash-fp/no-chain: error
lodash-fp/no-extraneous-args: error
lodash-fp/no-extraneous-function-wrapping: warn
lodash-fp/no-extraneous-iteratee-args: error
lodash-fp/no-for-each: off
lodash-fp/no-partial-of-curried: error
lodash-fp/no-single-composition: error
lodash-fp/no-submodule-destructuring: error
lodash-fp/no-unused-result: error
lodash-fp/prefer-compact: error
lodash-fp/prefer-composition-grouping: off
lodash-fp/prefer-constant:
- error
- arrowFunctions: false
lodash-fp/prefer-flat-map: error
lodash-fp/prefer-get: error
lodash-fp/prefer-identity:
- error
- arrowFunctions: false
lodash-fp/preferred-alias: off
lodash-fp/use-fp: warn
no-unused-vars:
- error
- varsIgnorePattern: ^_
argsIgnorePattern: ^_
react/jsx-uses-react: warn
react/jsx-uses-vars: warn
react/no-typos: error
react/no-this-in-sfc: error
react/prefer-stateless-function: warn
react/prop-types: off
react/jsx-key: warn
react/jsx-no-duplicate-props: error
react/display-name: off