module.exports = {
  env: {
    browser: true,
    es2021: true,
    amd: true,
    node: true,
  },
  extends: ["eslint:recommended", "prettier"],
  parserOptions: {
    ecmaVersion: 12,
    sourceType: "module",
  },
  rules: {
    indent: ["error", 2],
    "linebreak-style": "off",
    quotes: ["error", "double"],
    semi: [2, "always"],
    "no-trailing-spaces": 2,
    "no-undef": "error",
    "no-global-assign": 2,
    "no-redeclare": 2,
    "no-shadow": 2,
  },
};
