Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect methods that can be static #402

Open
Luro02 opened this issue Jan 31, 2024 · 0 comments
Open

Detect methods that can be static #402

Luro02 opened this issue Jan 31, 2024 · 0 comments
Labels
enhancement New feature or request high-priority Issues that should be solved as soon as possible new-lint A new lint.
Milestone

Comments

@Luro02
Copy link
Collaborator

Luro02 commented Jan 31, 2024

What it does

There is a button for when methods are not static, but could be called staticMethod.

Lint Name

INSTANCE_METHOD_SHOULD_BE_STATIC

Category

general

Advantage

No response

Drawbacks

No response

Example

<code>

Could be written as:

<code>
@Luro02 Luro02 added enhancement New feature or request new-lint A new lint. labels Jan 31, 2024
@Luro02 Luro02 added this to the v0.6 milestone Jan 31, 2024
Luro02 added a commit to Luro02/autograder that referenced this issue Apr 26, 2024
@Luro02 Luro02 added the high-priority Issues that should be solved as soon as possible label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority Issues that should be solved as soon as possible new-lint A new lint.
Projects
None yet
Development

No branches or pull requests

1 participant