Skip to content

Commit ff4cea5

Browse files
Use babel experimental parser
Suggestion taken from: [The issue we're encountering with this upgrade]: emberjs/babel-plugin-ember-template-compilation#101 [Suggested workaround from the discussed issue]: https://github.com/simonihmig/responsive-image/pull/1292/files [Is it OK to use?]: ember-cli/ember-app-blueprint#44 (comment) I image the experimental parser will be become the primary at some point and importing from experimental will result in an error.
1 parent 0cc9c2b commit ff4cea5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎ember-bem-helpers/eslint.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import js from '@eslint/js';
33
import ember from 'eslint-plugin-ember/recommended';
44
import prettier from 'eslint-plugin-prettier/recommended';
55
import n from 'eslint-plugin-n';
6-
import babelParser from '@babel/eslint-parser';
6+
import babelParser from '@babel/eslint-parser/experimental-worker';
77

88
const parserOptions = {
99
esm: {

‎test-app/eslint.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ember from 'eslint-plugin-ember/recommended';
55
import prettier from 'eslint-plugin-prettier/recommended';
66
import qunit from 'eslint-plugin-qunit';
77
import n from 'eslint-plugin-n';
8-
import babelParser from '@babel/eslint-parser';
8+
import babelParser from '@babel/eslint-parser/experimental-worker';
99

1010
const parserOptions = {
1111
esm: {

0 commit comments

Comments
 (0)