summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-07-08 03:47:05 +0200
committerGitHub <noreply@github.com>2020-07-08 09:47:05 +0800
commitdbd5e4bb8d0f9d35e19549ecf0c9d8a1d5df167f (patch)
tree5155678e65f45f07357dec1d52096a40874f74dc /.eslintrc
parent3a46d1ef58437028b8abea36a42affb6fff4ed0b (diff)
downloadgitea-dbd5e4bb8d0f9d35e19549ecf0c9d8a1d5df167f.tar.gz
gitea-dbd5e4bb8d0f9d35e19549ecf0c9d8a1d5df167f.zip
Update JS dependencies (#12181)
- Update all dependencies excluding octicons - Configure new eslint 7.3.0 rules Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index 493a04f81c..cfe653c2b8 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -220,6 +220,7 @@ rules:
no-octal: [2]
no-param-reassign: [0]
no-plusplus: [0]
+ no-promise-executor-return: [0]
no-proto: [2]
no-prototype-builtins: [2]
no-redeclare: [2]
@@ -251,6 +252,7 @@ rules:
no-unexpected-multiline: [2]
no-unmodified-loop-condition: [2]
no-unneeded-ternary: [0]
+ no-unreachable-loop: [2]
no-unreachable: [2]
no-unsafe-finally: [2]
no-unsafe-negation: [2]