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"]