summaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-27 04:45:24 +0200
committerGitHub <noreply@github.com>2023-06-27 02:45:24 +0000
commitc71e8abbc331e2a68186aa11a4797ecd24ff6d27 (patch)
tree24488621201c7501bd6056053e9cca3de221fce1 /.eslintrc.yaml
parent72c60f94c1a54707ebad2af0f587c08d2e8f992c (diff)
downloadgitea-c71e8abbc331e2a68186aa11a4797ecd24ff6d27.tar.gz
gitea-c71e8abbc331e2a68186aa11a4797ecd24ff6d27.zip
Add toasts to UI (#25449)
Fixes https://github.com/go-gitea/gitea/issues/24353 In some case like async success/error, it is useful to show toasts in UI.
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index ea85ab1298..71d8dc3814 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -25,10 +25,11 @@ env:
es2022: true
node: true
-globals:
- __webpack_public_path__: true
-
overrides:
+ - files: ["web_src/**/*"]
+ globals:
+ __webpack_public_path__: true
+ process: false # https://github.com/webpack/webpack/issues/15833
- files: ["web_src/**/*", "docs/**/*"]
env:
browser: true