summaryrefslogtreecommitdiffstats
path: root/eslint.config.js
blob: 4f720d2b85a78284b8a68c3c20ebd8205c475fa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Minimal ESLint config - zero dependencies
export default [
  {
    files: ["**/*.js"],
    languageOptions: {
      ecmaVersion: 2022,
      sourceType: "module",
      globals: {
        window: "readonly",
        document: "readonly",
        console: "readonly",
        fetch: "readonly",
        setInterval: "readonly",
        clearInterval: "readonly",
        App: "readonly",
        Utils: "readonly",
        ConnectionManager: "readonly",
        StatusManager: "readonly"
      }
    },
    rules: {
      "no-unused-vars": "warn",
      "no-undef": "error",
      "no-console": "off",
      "no-redeclare": "error",
      "no-unreachable": "error"
    }
  }
];