javascript-style-guide
eslint-plugin-prefer-arrow-functions
javascript-style-guide | eslint-plugin-prefer-arrow-functions | |
---|---|---|
1 | 1 | |
9 | 41 | |
- | - | |
9.6 | 6.3 | |
6 days ago | about 1 month ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
javascript-style-guide
eslint-plugin-prefer-arrow-functions
-
The Best ESLint Rules for React Projects
I prefer to set a standard for function declarations, so require use of arrow functions with an implicit return if possible. prefer-arrow-functions can do this for us, noting we also need to override some default ESLint rules:
What are some alternatives?
eslint-plugin-perfectionist - 🦄 ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
eslint-plugin-move-files - Move and rename files while keeping imports up to date
knip - ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
eslint-plugin-react-refresh - Validate that your components can safely be updated with fast refresh
javascript - JavaScript Style Guide
eslint-plugin-project-structure - Eslint plugin that allows you to enforce rules on project structure to keep your repository consistent even in large teams.
eslint-plugin-filename-rules
eslint-config-hardcore - The most strict (yet practical) ESLint config. 53 plugins. 1333 rules. React, Vue, Node, and pure JS/TS.
eslint-plugin-react - React-specific linting rules for ESLint
next.js-starter - Bleeding edge Next.js boilerplate
eslint-plugin-jsx-a11y - Static AST checker for a11y rules on JSX elements.