forked from javaLuo/react-luo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
35 lines (35 loc) · 831 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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"mocha": true,
"jquery": true
},
"parser": "babel-eslint",
"extends": "plugin:react/recommended",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
"semi": "warn",
"no-cond-assign": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-caller": "error",
"no-unmodified-loop-condition": "error",
"no-with": "error",
"no-catch-shadow": "error",
"prettier/prettier": "warn"
}
}