eslint-plugin-prefer-arrow-functions icon indicating copy to clipboard operation
eslint-plugin-prefer-arrow-functions copied to clipboard

Auto-fix plain Functions into Arrow Functions, in all cases where conversion would result in the same behaviour

Results 25 eslint-plugin-prefer-arrow-functions issues
Sort by recently updated
recently updated
newest added

Happy to submit a PR for this, but would like a 👍 that you'd be open to it before I do so

## Description Trying to configure `eslint-plugin-prefer-arrow-functions` in a `eslint.config.ts` file results in Type issues for `meta` being possibly `undefined`. ``` 47:7 error Type '{ meta: { name?: string | undefined;...

## 1. Description (What) I added to the plugin documentation information, how users can configure eslint-plugin-prefer-arrow-functions for the Flat configuration that required for ESLint 9. ## 2. Justification (Why) Information...

### 1. Summary It would be nice if prefer-arrow-functions will have the [**predefined configuration**](https://eslint.org/docs/latest/use/configure/combine-configs#apply-a-config-object) as another ESLint plugins. ### 2. Example of expected behavior All ESLint plugins that I use...

## Description In version 3.5.0 the peer dependency version for eslint was bumped from v8 to v9. Ideally this should have been done in a v4 release for this plugin....