summaryrefslogtreecommitdiffstats
path: root/eslint.config.js
blob: 3bfc90cad8a34ad171d775c4f416a123a72e713a (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
// Minimal ESLint config - zero dependencies
export default [
  {
    files: ["**/*.js"],
    languageOptions: {
      ecmaVersion: 2022,
      sourceType: "module",
      globals: {
        window: "readonly",
        document: "readonly",
        console: "readonly",
        fetch: "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"
    }
  }
];