-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc.js
46 lines (45 loc) · 977 Bytes
/
.eslintrc.js
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
'use strict';
module.exports = {
"extends": [
"standard",
"plugin:vue-libs/recommended"
],
"plugins": [
"mocha",
"react"
],
"rules": {
"no-labels": 0,
"no-empty-label": 0,
"no-redeclare": 0,
"semi": [2, "always"],
"space-before-function-paren": 0,
"no-new": 0,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 2,
"react/no-direct-mutation-state": 2,
"react/no-unknown-property": 1,
"react/prefer-es6-class": 1,
"react/react-in-jsx-scope": 2,
"comma-dangle": 0,
"jsx-quotes": 0,
},
"env": {
"es6": true,
"browser": true,
"mocha": true,
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true,
"legacyDecorators": true,
}
}
};