eslint-plugin-prefer-arrow-functions
eslint-plugin-prefer-arrow-functions copied to clipboard
Feature Request: `classPropertiesAllowed` should work for every method in a class
Description
According to the document, classPropertiesAllowed is for methods that "when doing so would not alter or break their behaviour". So a method like:
class A {
method() {
this;
}
}
won't be converted to arrow function, which is not so helpful.
Suggested Solution
Add a option to convert methods like this.