forked from xiaolin/react-image-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (33 loc) · 912 Bytes
/
.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
{
"parser": "babel-eslint",
"plugins": ["react"],
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": ["error", "always"],
"no-underscore-dangle": 0,
"no-unused-vars": 2,
"no-undef": 2,
"no-trailing-spaces": 2,
"react/jsx-uses-vars": 1,
"react/jsx-pascal-case": 1,
"react/jsx-closing-bracket-location": [1, "tag-aligned"],
"react/jsx-space-before-closing": 1,
"react/jsx-curly-spacing": 1,
"react/no-string-refs": 1,
"react/wrap-multilines": 1,
"react/self-closing-comp": 1,
"react/jsx-no-bind": [1, {"ignoreRefs": true}],
"react/require-render-return": 1,
"react/no-is-mounted": 1
}
}