text: module.exports = {
    env: {
      browser: true,
      es6: true,
    },
    extends: [
      'plugin:react/recommended',
      'airbnb',
      'prettier',
      'prettier/react'
    ],
    globals: {
      Atomics: 'readonly',
      SharedArrayBuffer: 'readonly',
    },
    parser: 'babel-eslint',
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 2018,
      sourceType: 'module',
    },
    plugins: ["react", "jsx-a11y", "import", "react-hooks", "prettier"],
    rules: {
      "prettier/prettier": "error",
      "react/jsx-filename-extension": ["error", { extensions: [".js", ".jsx"] }],
      "import/prefer-default-export": "off",
      "no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
      "react/jsx-one-expression-per-line": "off",
      "global-require": "off",
      "no-param-reassign": "off",
      "no-underscore-dangle": "off",
      "react/jsx-props-no-spreading": "off",
      camelcase: "off",
      "no-console": ["error", { allow: ["tron"] }],
      "react-hooks/rules-of-hooks": "error",
      "react-hooks/exhaustive-deps": "warn",
      "jsx-a11y/label-has-associated-control": "off"
    },
    settings: {
      "import/resolver": {
        "babel-plugin-root-import": {
          rootPathSuffix: "src"
        },
      },
    },
  };
  