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>
This commit is contained in:
silverwind 2020-11-29 22:39:36 +01:00 committed by GitHub
parent c4deb97ed1
commit e81edc02b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 843 additions and 1055 deletions

View file

@ -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]