From f3cfbd095f836a429a0ade2c08a54232c2ccfcb8 Mon Sep 17 00:00:00 2001 From: Sujith Date: Tue, 10 Jan 2023 17:25:07 +0530 Subject: [PATCH] fix: eslint config fix Signed-off-by: Sujith --- packages/api-utils/lib/configs/eslintrc.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/api-utils/lib/configs/eslintrc.cjs b/packages/api-utils/lib/configs/eslintrc.cjs index 57a15d7df43..a95b87d82b1 100644 --- a/packages/api-utils/lib/configs/eslintrc.cjs +++ b/packages/api-utils/lib/configs/eslintrc.cjs @@ -1,5 +1,6 @@ module.exports = { extends: "@reactioncommerce", + parser: "@babel/eslint-parser", parserOptions: { ecmaVersion: 2020, sourceType: "module", @@ -7,6 +8,7 @@ module.exports = { impliedStrict: true } }, + plugins: ["@babel/plugin-syntax-import-assertions"], env: { es6: true, jasmine: true