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

Commit 6bfb650

Browse files
committed
updated eslint file
1 parent fa42cb6 commit 6bfb650

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.eslintrc

+10-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"builtin": true,
55
"es6": true
66
},
7+
"parserOptions": {
8+
"ecmaVersion": 6,
9+
"sourceType": "module"
10+
},
711
"globals": {},
812
"rules": {
913
"block-scoped-var": 0,
@@ -68,7 +72,7 @@
6872
"no-with": 2,
6973
"quotes": [0, "single"],
7074
"radix": 2,
71-
"semi": [0, "never"],
75+
"semi": [1, "always"],
7276
"strict": 0,
7377
"space-before-blocks": 1,
7478
"space-before-function-paren": [1, {
@@ -79,6 +83,10 @@
7983
"space-infix-ops": 1,
8084
"valid-typeof": 2,
8185
"vars-on-top": 0,
82-
"wrap-iife": [2, "inside"]
86+
"wrap-iife": [2, "inside"],
87+
"prefer-const": ["error", {
88+
"destructuring": "any",
89+
"ignoreReadBeforeAssign": false
90+
}]
8391
}
8492
}

0 commit comments

Comments
 (0)