Skip to content

Commit

Permalink
Configure "babel-eslint" as main parser
Browse files Browse the repository at this point in the history
To allow to lint all valid Babel code babel-eslint (1) has been included
and specified as main parser (2).

References:

  (1) https://github.com/babel/babel-eslint
  (2) https://eslint.org/docs/user-guide/configuring#specifying-parser

GH-15
  • Loading branch information
arcticicestudio committed Nov 17, 2018
1 parent 4dd1095 commit f043313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const { resolve } = require("path");

module.exports = {
extends: "arcticicestudio",
parser: "babel-eslint",
env: {
browser: true,
node: true
Expand Down

0 comments on commit f043313

Please sign in to comment.