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',