eslint-plugin-prefer-arrow is an ESLint plugin that encourages the use of arrow functions instead of traditional function expressions where applicable. By proactively flagging potential opportunities for conversion, it helps to improve code readability and maintain consistency in modern JavaScript projects. This plugin facilitates a more concise coding style and aligns with the best practices for using arrow functions, potentially improving performance in specific scenarios. Configuration options enable fine-tuning the linting rules to suit project-specific coding standards and preferences.
The npm package eslint-plugin-prefer-arrow had frequent releases in early 2017, with 5 versions in February alone. Releases became less frequent over time, with occasional versions appearing between 2018 and 2021. The last release was in January 2021. There have been no releases in the years 2022, 2023, 2024, and so far in 2025 (up to August).
Eslint-plugin-prefer-arrow downloads surged in March 2024, maintaining strong performance. Downloads remained relatively stable throughout the rest of 2024 and until May 2025, followed by increases in June and July 2025. August 2025 downloads show a decrease, but the month is not yet complete.