summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-03-09 01:41:52 +0100
committerGitHub <noreply@github.com>2020-03-08 21:41:52 -0300
commitd6657644a96417d2e771a2891a54e99e686be0a3 (patch)
treeddd3d6da647381ebc495743354c72ae3a0eff8fd /.eslintrc
parent11f7fc5621629624034916b118b4b4ef368f8418 (diff)
downloadgitea-d6657644a96417d2e771a2891a54e99e686be0a3.tar.gz
gitea-d6657644a96417d2e771a2891a54e99e686be0a3.zip
Modernize docs/assets/js/search.js (#10621)v1.12.0-dev
- reformated file with eslint's --fix - did some minor rule adjustments - removed unneccesary console debug - fixed a typo
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index 263c7e5d8f..ea0fc5bcb2 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -36,6 +36,8 @@ rules:
max-len: [0]
newline-per-chained-call: [0]
no-alert: [0]
+ no-cond-assign: [2, except-parens]
+ no-console: [1, {allow: [info, warn, error]}]
no-continue: [0]
no-mixed-operators: [0]
no-multi-assign: [0]