module.exports = {
  env: {
    browser: true,
    es2021: true,
    node: true,
  },
  extends: ["eslint:recommended", "plugin:react/recommended"],
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
    ecmaVersion: 13,
    sourceType: "module",
  },
  //ignore the dist folder
  ignorePatterns: ["dist/"],
  plugins: ["react"],
  rules: { "react/react-in-jsx-scope": "off" },
};
