Skip to content

Commit

Permalink
Set ESLint to parse ES6 if use Babel (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuononh authored and ragingwind committed Jun 28, 2018
1 parent 8a51fc3 commit 664a679
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
"eslintConfig": {
"env": {
<% if (babel) { %>
"es6": true,
<% } %>
"node": true,
"browser": true
},
Expand Down

0 comments on commit 664a679

Please # to comment.