diff options
author | Giteabot <teabot@gitea.io> | 2023-06-08 08:05:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 12:05:13 +0000 |
commit | 82a8c26bbfec4774cf7975f14468202a1560e418 (patch) | |
tree | be652430caa5a5299cd5bfc1023c980fef440b98 /.eslintrc.yaml | |
parent | cb113991a3cb963fcfc15f6562679d45a93c0c5e (diff) | |
download | gitea-82a8c26bbfec4774cf7975f14468202a1560e418.tar.gz gitea-82a8c26bbfec4774cf7975f14468202a1560e418.zip |
Update js dependencies (#25137) (#25151)
Backport #25137 by @silverwind
- Update all JS dependencies
- Tweak eslint for more generic globs
- Tested mermaid, pdf, monaco
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index f4b1e67534..ea85ab1298 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -29,11 +29,11 @@ globals: __webpack_public_path__: true overrides: - - files: ["web_src/**/*.js", "docs/**/*.js"] + - files: ["web_src/**/*", "docs/**/*"] env: browser: true node: false - - files: ["web_src/**/*worker.js"] + - files: ["web_src/**/*worker.*"] env: worker: true rules: @@ -42,7 +42,7 @@ overrides: rules: import/no-unresolved: [0] import/no-extraneous-dependencies: [0] - - files: ["*.config.js"] + - files: ["*.config.*"] rules: import/no-unused-modules: [0] |