{
  "env": {
    "browser": true,
    "es2021": true,
    "serviceworker": true
  },
  "extends": "eslint:recommended",
  "parserOptions": {
    "ecmaVersion": 2021,
    "sourceType": "module"
  },
  "globals": {
    "console": "readonly",
    "window": "readonly",
    "document": "readonly",
    "navigator": "readonly",
    "localStorage": "readonly",
    "indexedDB": "readonly",
    "Notification": "readonly",
    "fetch": "readonly",
    "self": "readonly",
    "clients": "readonly",
    "caches": "readonly",
    "registration": "readonly"
  },
  "rules": {
    "indent": ["error", 4],
    "linebreak-style": ["error", "unix"],
    "quotes": ["error", "single"],
    "semi": ["error", "always"],
    "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
    "no-console": "off",
    "no-undef": "error",
    "no-global-assign": "error",
    "no-implicit-globals": "error",
    "prefer-const": "error",
    "no-var": "error"
  }
}