forked from Charmatzis/react-leaflet-google
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
110 lines (109 loc) · 2.65 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
98
99
100
101
102
103
104
105
106
107
108
109
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"globals": {
"fetch": false
},
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"rules": {
"strict": 0,
"new-cap": 0,
"no-shadow": 0,
"no-underscore-dangle": 0,
"react/prop-types": 0,
"react/display-name": 0,
"react/jsx-wrap-multilines": 1,
"react/self-closing-comp": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/react-in-jsx-scope": 0,
"react/sort-comp": [2, {
"order": [
"displayName",
"propTypes",
"contextTypes",
"childContextTypes",
"constructor",
"mixins",
"statics",
"defaultProps",
"getDefaultProps",
"state",
"getInitialState",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount",
"/^on.+$/",
"/^get.+$/",
"/^_.*$/",
"/^render.+$/",
"render"
]
}],
"semi": [2, "always"],
"no-empty": 1,
"no-func-assign": 1,
"no-extra-semi": 1,
"no-obj-calls": 1,
"consistent-return": 1,
"eqeqeq": [2, "smart"],
"guard-for-in": 1,
"indent": [2, 2],
"keyword-spacing": [ 2, { "before": true, "after": true } ],
"no-alert": 1,
"no-caller": 1,
"no-else-return": 1,
"no-eq-null": 1,
"no-fallthrough": 1,
"no-loop-func": 1,
"no-new-func": 1,
"no-multi-spaces": 1,
"no-multi-str": 1,
"no-native-reassign": 1,
"no-proto": 1,
"no-return-assign": 1,
"yoda": [2, "never", { "exceptRange": true }],
"no-catch-shadow": 1,
"no-undef-init": 1,
"no-undef": 1,
"camelcase": 1,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"func-names": 1,
"func-style": [2, "declaration"],
"linebreak-style": 1,
"new-parens": 1,
"no-lonely-if": 1,
"no-multiple-empty-lines": 1,
"no-nested-ternary": 1,
"no-new-object": 1,
"no-spaced-func": 1,
"no-unneeded-ternary": 1,
"one-var": [2, "never"],
"quotes": [2, "double"],
"quote-props": [2, "as-needed"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-infix-ops": 1,
"spaced-comment": [2, "always"],
"no-var": 1,
"object-shorthand": [2, "methods"]
},
"env": {
"browser": true,
"es6": true
}
}