From be9958afb6277003a57909b010cd4b796d57c131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 22 Dec 2017 17:07:26 +0100 Subject: [PATCH] tools: use babel-eslint as ESLint parser PR-URL: https://github.com/nodejs/node/pull/17820 Reviewed-By: Matteo Collina Reviewed-By: Benjamin Gruenbaum --- .eslintrc.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 4735778b7bbff8..0839e352cd399d 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -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"]