Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 6954543

Browse files
committed
update eslint file
1 parent 828a7c6 commit 6954543

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.eslintrc

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"env": {
33
"node": true,
4-
"builtin": true
4+
"builtin": true,
5+
"es6": true
6+
},
7+
"parserOptions": {
8+
"ecmaVersion": 6,
9+
"sourceType": "module"
510
},
611
"globals": {},
712
"rules": {
@@ -67,7 +72,7 @@
6772
"no-with": 2,
6873
"quotes": [0, "single"],
6974
"radix": 2,
70-
"semi": [0, "never"],
75+
"semi": [1, "always"],
7176
"strict": 0,
7277
"space-before-blocks": 1,
7378
"space-before-function-paren": [1, {
@@ -78,6 +83,10 @@
7883
"space-infix-ops": 1,
7984
"valid-typeof": 2,
8085
"vars-on-top": 0,
81-
"wrap-iife": [2, "inside"]
86+
"wrap-iife": [2, "inside"],
87+
"prefer-const": ["error", {
88+
"destructuring": "any",
89+
"ignoreReadBeforeAssign": false
90+
}]
8291
}
8392
}

0 commit comments

Comments
 (0)