chore: remove eslint-plugin-array-func (#38294)

The rules from `eslint-plugin-array-func` are redundant with
`eslint-plugin-unicorn`:

- `from-map` → `unicorn/prefer-array-from-map`
- `no-unnecessary-this-arg` → `unicorn/no-array-method-this-argument`
- `prefer-flat` / `prefer-flat-map` → `unicorn/prefer-array-flat` /
`unicorn/prefer-array-flat-map` (already disabled here)

The two remaining rules (`avoid-reverse`, `prefer-array-from`) are niche
and not worth carrying an extra dependency for.

Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
silverwind
2026-07-01 20:16:42 +00:00
committed by GitHub
co-authored by bircni
parent b6ef881a9f
commit c52a07dcfe
4 changed files with 0 additions and 28 deletions
-1
View File
@@ -92,7 +92,6 @@
"@vitest/eslint-plugin": "1.6.20",
"eslint": "10.6.0",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-array-func": "5.1.1",
"eslint-plugin-import-x": "4.17.1",
"eslint-plugin-playwright": "2.10.4",
"eslint-plugin-regexp": "3.1.1",