From 7dd4f87b583eee62fc29478fa0307248c6dd6269 Mon Sep 17 00:00:00 2001 From: aleksandrskondratjevs Date: Fri, 4 Nov 2022 11:10:00 +0200 Subject: [PATCH] Fix compiling project with eslint parses error --- build-packages/csa-generator-theme/template/.eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-packages/csa-generator-theme/template/.eslintrc.js b/build-packages/csa-generator-theme/template/.eslintrc.js index f55b7f1974..abfdc45d20 100644 --- a/build-packages/csa-generator-theme/template/.eslintrc.js +++ b/build-packages/csa-generator-theme/template/.eslintrc.js @@ -6,6 +6,9 @@ module.exports = { tsconfigRootDir: __dirname, project: './tsconfig.json', requireConfigFile: false, + babelOptions: { + presets: ['@babel/preset-react'], + }, }, rules: { '@typescript-eslint/object-curly-spacing': 'off',