diff options
author | silverwind <me@silverwind.io> | 2020-12-27 15:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 15:24:27 +0100 |
commit | 50a2dd52baed6a998cca332761c3e9eccf0157a9 (patch) | |
tree | 4c5a2ca412a208ba510bcbff14ce2731c79dbb2e /.eslintrc | |
parent | fe403725f45e4515ce89d6a4dfd01e9698d38ad9 (diff) | |
download | gitea-50a2dd52baed6a998cca332761c3e9eccf0157a9.tar.gz gitea-50a2dd52baed6a998cca332761c3e9eccf0157a9.zip |
Update JS dependencies and webpack (#14118)
* Update JS dependencies
- Update all JS dependencies
- Adapt webpack config for version 5
- Update to Less 4.0, adapting usage of removed mixin syntax
- Enable new ESLint rules and fix discovered issues
* update license-webpack-plugin to fix missing licenses
* update license-webpack-plugin once more to get webpack into the license output
* switch to license-checker-webpack-plugin again for performance
* update deps again
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -346,6 +346,7 @@ rules: unicorn/catch-error-name: [0] unicorn/consistent-function-scoping: [2] unicorn/custom-error-definition: [0] + unicorn/empty-brace-spaces: [2] unicorn/error-message: [0] unicorn/escape-case: [0] unicorn/expiring-todo-comments: [0] @@ -361,6 +362,7 @@ rules: unicorn/no-for-loop: [0] unicorn/no-hex-escape: [0] unicorn/no-keyword-prefix: [0] + unicorn/no-lonely-if: [2] unicorn/no-nested-ternary: [0] unicorn/no-new-buffer: [0] unicorn/no-null: [0] @@ -377,6 +379,7 @@ rules: unicorn/prefer-add-event-listener: [2] unicorn/prefer-array-find: [2] unicorn/prefer-dataset: [2] + unicorn/prefer-date-now: [2] unicorn/prefer-event-key: [2] unicorn/prefer-includes: [2] unicorn/prefer-math-trunc: [2] |