Detect methods that can be static #402
Labels
enhancement
New feature or request
high-priority
Issues that should be solved as soon as possible
new-lint
A new lint.
Milestone
What it does
There is a button for when methods are not
static
, but could be calledstaticMethod
.Lint Name
INSTANCE_METHOD_SHOULD_BE_STATIC
Category
general
Advantage
No response
Drawbacks
No response
Example
<code>
Could be written as:
<code>
The text was updated successfully, but these errors were encountered: