]>
git.proxmox.com Git - pve-eslint.git/commitdiff
projects
/
pve-eslint.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb7828
)
disable 'no-else-return' rule
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 12:04:10 +0000
(14:04 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 12:53:28 +0000
(14:53 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/app.js
patch
|
blob
|
blame
|
history
diff --git
a/src/app.js
b/src/app.js
index 903e8345e7105349a782f6481e4dad343c93b140..509bfad3e76c794a6f586b219d6c2e65b1e3f093 100644
(file)
--- a/
src/app.js
+++ b/
src/app.js
@@
-138,7
+138,7
@@
const defaultConfig = {
"no-caller": "error",
"no-constructor-return": "error",
"no-div-regex": "error",
- "no-else-return": "error",
+ //"no-else-return": "warn", // not a real style problem, both can be OK
"no-empty-function": "error",
"no-eq-null": "error",
"no-eval": "error",