mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-07 22:29:02 +00:00
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:
Vendored
-6
@@ -1,9 +1,3 @@
|
||||
declare module 'eslint-plugin-array-func' {
|
||||
import type {Eslint} from 'eslint';
|
||||
const plugin: Eslint.Plugin;
|
||||
export = plugin;
|
||||
}
|
||||
|
||||
declare module '*.svg' {
|
||||
const value: string;
|
||||
export default value;
|
||||
|
||||
Reference in New Issue
Block a user