diff options
author | silverwind <me@silverwind.io> | 2023-10-08 19:31:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 19:31:33 +0200 |
commit | 8419897fbac7e87a1866e111222a076848cf582f (patch) | |
tree | 3da0ce94a307a18fa85a1a8d4de4734500f67a64 /.eslintrc.yaml | |
parent | 17698d4a629020a6f08e5069105e532518d8bf7a (diff) | |
download | gitea-8419897fbac7e87a1866e111222a076848cf582f.tar.gz gitea-8419897fbac7e87a1866e111222a076848cf582f.zip |
Update JS and PY dependencies (#27501) (#27518)
Backport https://github.com/go-gitea/gitea/pull/27501 to 1.21
- Update all JS and PY dependencies
- Enable eslint `prefer-object-has-own` and autofix issue
- Fix styling on citation buttons
- Tested citation, mermaid, monaco, swagger, katex
Citation button issue was that these buttons were not filled:
<img width="136" alt="Screenshot 2023-10-07 at 14 05 08"
src="https://github.com/go-gitea/gitea/assets/115237/435f0c91-28ac-46b3-bae4-dad768b29c05">
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 689a4f919c..f9d2d30e9e 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -476,7 +476,7 @@ rules: prefer-exponentiation-operator: [2] prefer-named-capture-group: [0] prefer-numeric-literals: [2] - prefer-object-has-own: [0] + prefer-object-has-own: [2] prefer-object-spread: [2] prefer-promise-reject-errors: [2, {allowEmptyReject: false}] prefer-regex-literals: [2] |