« get me outta code hell

.eslintrc.json - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/.eslintrc.json
blob: ac1a4e63afff7fbc333cbab8118a986adf37f3bf (plain)
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
{
  "env": {
    "es2021": true,
    "node": true
  },
  "extends": "eslint:recommended",
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module"
  },
  "rules": {
    "indent": ["off"],
    "no-empty": ["error", {
      "allowEmptyCatch": true
    }],
    "no-unexpected-multiline": ["off"],
    "no-unused-labels": ["off"],
    "no-unused-vars": ["error", {
      "argsIgnorePattern": "^_",
      "destructuredArrayIgnorePattern": "^"
    }],
    "no-cond-assign": ["off"],
    "no-constant-condition": ["off"],
    "no-unsafe-finally": ["off"]
  }
}