import babelParser from '@babel/eslint-parser'; import globals from 'globals'; export default { languageOptions: { globals: { ...globals.browser }, parser: babelParser, parserOptions: { ecmaFeatures: { globalReturn: true, generators: false, objectLiteralDuplicateProperties: false, experimentalObjectRestSpread: true, }, ecmaVersion: 2017, sourceType: 'module', requireConfigFile: false, }, }, rules: { 'no-console': 0, quotes: ['error', 'single'], semi: ['warn', 'always'], 'comma-dangle': 0, }, };