diff --git a/eslint-common-config.js b/eslint-common-config.js index d5cf431..97df60a 100644 --- a/eslint-common-config.js +++ b/eslint-common-config.js @@ -4,6 +4,14 @@ module.exports = { '@gravity-ui/eslint-config', process.env.npm_command && '@gravity-ui/eslint-config/prettier', ].filter(Boolean), + parserOptions: { + requireConfigFile: false, + babelOptions: { + plugins: [ + '@babel/plugin-syntax-import-assertions' + ] + } + }, overrides: [{ files: [ '.eslintrc.js', diff --git a/package.json b/package.json index 06df7c4..444f632 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "author": "", "license": "MIT", "dependencies": { + "@babel/plugin-syntax-import-assertions": "^7.25.6", "@gravity-ui/eslint-config": "^3.2.0", "@gravity-ui/prettier-config": "^1.1.0", "@gravity-ui/stylelint-config": "^4.0.1",