]> git.proxmox.com Git - pve-eslint.git/commitdiff
disable "no-underscore-dangle" as used in explicit unused variables
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 11:36:39 +0000 (13:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 11:37:43 +0000 (13:37 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/app.js

index 8a89f9aaead9bb177d68d2c5385b7436c05df97c..903e8345e7105349a782f6481e4dad343c93b140 100644 (file)
@@ -206,7 +206,7 @@ const defaultConfig = {
        "no-mixed-operators": "warn",
        "no-multiple-empty-lines": "warn",
        "no-trailing-spaces": "warn",
-       "no-underscore-dangle": ["warn", { allowAfterThis: true }],
+       // "no-underscore-dangle": ["warn", { allowAfterThis: true }], // we use it for unused variables, like in rust
        "no-unneeded-ternary": "warn",
        "no-whitespace-before-property": "warn",
        "object-curly-newline": "warn",