Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disallow var keyword
  • Loading branch information
alexesprit committed Nov 5, 2017
1 parent 64eaed9 commit 05cc40d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Expand Up @@ -126,6 +126,8 @@ module.exports = {
// Require parentheses around arrow function arguments
'arrow-parens': 'error',
'arrow-spacing': 'error',
// Require let or const instead of var
'no-var': 'error',
// Require method and property shorthand syntax for object literals
'object-shorthand': ['error', 'always'],
// Require template literals instead of string concatenation
Expand Down

0 comments on commit 05cc40d

Please sign in to comment.