forked from GordyD/3ree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 925 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
35
36
37
38
39
40
41
42
43
44
{
// I want to use babel-eslint for parsing!
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true,
"classes": true,
"modules": true,
},
"env": {
// I write for browser
"browser": true,
// in CommonJS
"node": true
},
"globals": {
"process": false,
"require": false,
"define": false,
"console": false,
},
// To give you an idea how to override rule options:
"rules": {
"quotes": [2, "single"],
"semi": [2, "always"],
"strict": [2, "never"],
"eol-last": [0],
"no-mixed-requires": [0],
"no-underscore-dangle": [0],
"no-bitwise": 2,
"camelcase": 2,
"eqeqeq": 2,
"wrap-iife": [2, "inside"],
"no-use-before-define": [2, "nofunc"],
"no-caller": 2,
"no-undef": 2,
"new-cap": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2
},
"plugins": [
"react"
]
}