Skip to content

Commit

Permalink
tools: use babel-eslint as ESLint parser
Browse files Browse the repository at this point in the history
PR-URL: #17820
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information
targos committed Jan 11, 2018
1 parent b043a70 commit 4d96c17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ env:
node: true
es6: true

parser: babel-eslint

parserOptions:
ecmaVersion: 2017
sourceType: script

overrides:
- files: ["doc/api/esm.md", "*.mjs", "test/es-module/test-esm-example-loader.js"]
Expand Down

0 comments on commit 4d96c17

Please sign in to comment.