« get me outta code hell

.eslintrc - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/.eslintrc
blob: f742bb8e2c8a980e9210eb366ee6092d05f6394f (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
{
  "env": {
    "es2021": true,
    "node": true
  },
  "extends": "eslint:recommended",
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module"
  },
  "rules": {
    "indent": ["off"],
    "no-constant-condition": ["error", {
      "checkLoops": false
    }],
    "no-empty": ["error", {
      "allowEmptyCatch": true
    }],
    "no-unused-vars": ["error", {
      "argsIgnorePattern": "^_",
      "destructuredArrayIgnorePattern": "^"
    }]
  }
}