Skip to content

Commit

Permalink
Add eslint rules to enforce changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dfilipidisz committed Jun 27, 2017
1 parent c4dbda1 commit 68b9b06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
// Strict Mode
"strict": [2, "global"],
// Variables
"prefer-const": 2,
"no-catch-shadow": 2,
"no-const-assign": 2,
"no-delete-var": 2,
"no-label-var": 2,
"no-shadow": 2,
Expand All @@ -98,6 +100,7 @@
"no-undefined": 2,
"no-unused-vars": 2,
"no-use-before-define": 2,
"no-var": 2,
// Stylistic Issues
"indent": [2, 2, {
"SwitchCase": 1
Expand Down

0 comments on commit 68b9b06

Please sign in to comment.