Skip to content

Commit

Permalink
Enable prefer-const
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Jan 8, 2017
1 parent 8fa2ea4 commit 688e18c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -51,7 +51,8 @@ module.exports = {
// Prevent using => in a condition where <= is intended
"no-confusing-arrow": "error",
// prevent no space in `if (){`
"space-before-blocks": ["error", "always"]
"space-before-blocks": ["error", "always"],
"prefer-const": "error"
},

globals: {
Expand Down

0 comments on commit 688e18c

Please sign in to comment.