chore: update eslint plugins and configure new unicorn rules (#39357)

Update all eslint plugins and configure the new unicorn rules.

The new unicorn CSS rules stay off because stylelint already covers most
of them.

`unicorn/prefer-iterator-helpers` is disabled because it forces too-new
browser requirements onto Gitea.

No new violations in the code.
This commit is contained in:
silverwind
2026-09-18 23:58:36 +00:00
committed by GitHub
parent 0a8b24c2b3
commit 309c872ce5
3 changed files with 40 additions and 95 deletions
+3 -3
View File
@@ -67,7 +67,7 @@
"vue": "3.5.42"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "4.8.0",
"@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
"@eslint/json": "2.1.0",
"@playwright/test": "1.63.0",
"@stylistic/eslint-plugin": "5.10.0",
@@ -87,9 +87,9 @@
"eslint": "10.10.0",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-import-x": "4.17.1",
"eslint-plugin-playwright": "2.11.0",
"eslint-plugin-playwright": "2.12.0",
"eslint-plugin-regexp": "3.3.0",
"eslint-plugin-unicorn": "74.0.0",
"eslint-plugin-unicorn": "75.0.0",
"eslint-plugin-vue": "10.11.0",
"eslint-plugin-vue-scoped-css": "3.1.3",
"eslint-plugin-wc": "3.1.0",