eslint-plugin-proper-arrows
eslint-plugin-proper-arrows copied to clipboard
ESLint rules to ensure proper arrow function definitions
Would it be possible to ignore React components in the rule `where`? While I agree that function declaration is preferable when exporting a function (i.e. `export function somefn() { /*...
Define one (or more) configs that make it easier to use this plugin out of the box. Add a "configs" to the plugin definition: https://eslint.org/docs/developer-guide/working-with-plugins#configs-in-plugins
If you want to "train" a rules config on your existing code, a web based wizard tool could be helpful for that. You paste in code, it tells you what...
Allow rules to auto-fix if possible.
When an inline function expression appears in a default parameter value, it can create a closure over the normally-indistinguishable "parameter scope", which is super confusing, and should almost always be...