Skip to content

Commit 68b9b06

Browse files
committed
Add eslint rules to enforce changes
1 parent c4dbda1 commit 68b9b06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@
8888
// Strict Mode
8989
"strict": [2, "global"],
9090
// Variables
91+
"prefer-const": 2,
9192
"no-catch-shadow": 2,
93+
"no-const-assign": 2,
9294
"no-delete-var": 2,
9395
"no-label-var": 2,
9496
"no-shadow": 2,
@@ -98,6 +100,7 @@
98100
"no-undefined": 2,
99101
"no-unused-vars": 2,
100102
"no-use-before-define": 2,
103+
"no-var": 2,
101104
// Stylistic Issues
102105
"indent": [2, 2, {
103106
"SwitchCase": 1

0 commit comments

Comments
 (0)