eslint-plugin-prefer-arrow-functions

Function converter

An ESLint plugin to convert plain functions into arrow functions where possible without changing behavior.

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

GitHub

55 stars
3 watching
11 forks
Language: TypeScript
last commit: 5 months ago
arrow-functionscodemodeslinteslint-plugineslint-rulejavascriptlintlinterlintingnodejs

Related projects:

Repository Description Stars
getify/eslint-plugin-proper-arrows Provides ESLint rules to enforce proper arrow function syntax and prevent common readability issues. 305
tinloof/eslint-plugin-better-styled-components Automatically enforces coding standards for styled components in ESLint 65
jamiemason/eslint-plugin-move-files Automates file renaming and relocation to standardize directory structures in codebases 8
eslint-functional/eslint-plugin-functional An ESLint plugin to enforce functional programming and prevent mutation in JavaScript and TypeScript codebases. 857
iliubinskii/eslint-plugin-misc A collection of ESLint rules for JavaScript and TypeScript files. 10
eslint-community/eslint-plugin-es-x A plugin for ESLint that checks JavaScript code for compliance with ECMAScript syntax rules. 121
brettz9/eslint-plugin Adds custom ESLint rules to enforce coding standards and best practices in JavaScript development. 2
akronae/eslint-plugin-exception-handling Detects and warns about potential errors in functions that might throw exceptions. 31
eslint-community/eslint-plugin-eslint-comments Adds additional ESLint rules for commenting out specific lines of code 56
gajus/eslint-plugin-sql Provides rules and configuration for linting SQL code in TypeScript projects using ESLint. 94
eslint-community/eslint-plugin-eslint-plugin A plugin for linting ESLint plugins written in JavaScript. 203
ihordiachenko/eslint-plugin-chai-friendly A plugin to make ESLint friendly with Chai's 'expect' and 'should' statements 54
tlvince/eslint-plugin-jasmine ESLint plugin for enforcing Jasmine coding standards and best practices in JavaScript projects. 95
brendanmorrell/eslint-plugin-styled-components-a11y An ESLint plugin to enforce accessibility rules on styled components in JavaScript projects 146
amilajack/eslint-plugin-dom Tools to help detect and prevent forced DOM layout recalculations in JavaScript 9