text: module.exports = {
    env: {
      browser: true,
      es6: true,
    },
    extends: ['airbnb', 'prettier', 'prettier/react'],
    parser: 'babel-eslint',
    globals: {
      Atomics: 'readonly',
      SharedArrayBuffer: 'readonly',
    },
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 2018,
      sourceType: 'module',
    },
    plugins: ['react', 'prettier', 'react-hooks'],
    rules: {
      'prettier/prettier': 'error',
      'react/jsx-filename-extension': [
        'warn',
        {
          extensions: ['.jsx', '.js'],
        },
      ],
      'import/prefer-default-export': 'off',
      'no-param-reassign': 'off',
      'no-console': ['error', { allow: ['tron'] }],
      'react-hooks/rules-of-hooks': 'error',
      'react-hooks/exhaustive-deps': 'warn',
    },
    settings: {
      'import/resolver': {
        'babel-plugin-root-import': {
          rootPathSuffix: 'src',
        },
      },
    },
  };
  