summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-29 22:39:36 +0100
committerGitHub <noreply@github.com>2020-11-29 16:39:36 -0500
commite81edc02b9e93f625b9767386bbef6761f7bc291 (patch)
tree3fe3c4b12c92b70efce327d8e101c6a81263f089 /.eslintrc
parentc4deb97ed105e923b922fae0ad8cc49327a13852 (diff)
downloadgitea-e81edc02b9e93f625b9767386bbef6761f7bc291.tar.gz
gitea-e81edc02b9e93f625b9767386bbef6761f7bc291.zip
Update JS dependencies and misc tweaks (#13741)
* Update JS dependencies and misc tweaks - Update all JS dependencies minus webpack - Adapt CodeMirrors styling to new CSS parent introduced by EasyMDE - Set eslint parser to latest and add new eslint 7.14 rule - Speed up npm install by disabling audit and fund checks - Move fomantic-ui to optional dependencies to further speed up npm - Enable syntax highlighting on GH for .eslintrc and .stylelintrc - Makefile cleanups * disable audit in npmrc * add missing dash Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index f289e79b91..576e8c6d30 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -9,7 +9,7 @@ ignorePatterns:
parserOptions:
sourceType: module
- ecmaVersion: 2020
+ ecmaVersion: 2021
plugins:
- eslint-plugin-unicorn
@@ -235,6 +235,7 @@ rules:
no-new-symbol: [2]
no-new-wrappers: [2]
no-new: [0]
+ no-nonoctal-decimal-escape: [2]
no-obj-calls: [2]
no-octal-escape: [2]
no-octal: [2]