aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-12-09 15:54:59 +0800
committerGitHub <noreply@github.com>2024-12-09 07:54:59 +0000
commit5675efb3e015fb8d87d86d1b79de2200f7dfb9af (patch)
tree5c5ad18d8a7fd31632f9d2f1dd4e6a65011c5271 /.eslintrc.yaml
parent2d13eafd69b368bc75faa25d7ecfbda98a0792f8 (diff)
downloadgitea-5675efb3e015fb8d87d86d1b79de2200f7dfb9af.tar.gz
gitea-5675efb3e015fb8d87d86d1b79de2200f7dfb9af.zip
Fix duplicate dropdown dividers (#32760)
Fix #27466 The problem is that any item in the menu could be hidden, pure CSS won't work, and dropdown's builtin "hideDividers" doesn't work with our "scope dividers". The newly introduced "archived" label makes the dividers regression more.
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 048ca393d1..04eb023634 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -818,7 +818,7 @@ rules:
unicorn/consistent-destructuring: [2]
unicorn/consistent-empty-array-spread: [2]
unicorn/consistent-existence-index-check: [0]
- unicorn/consistent-function-scoping: [2]
+ unicorn/consistent-function-scoping: [0]
unicorn/custom-error-definition: [0]
unicorn/empty-brace-spaces: [2]
unicorn/error-message: [0]