Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

naming-convention: allow detecting unused variables / parameters #9

Closed
Assignees
ajafff
@ajafff

Description

@ajafff

To suppress compiler warnings for unused parameters and locals, you prefix the name with an underscore.

Many users don't want to allow leading underscores in their variable names globally. Of course you can restrict that to parameters, but that will still allow a leading underscore for used parameters.

The rule should support restricting the leading underscore to only parameters that are really unused.
This could be achieved by either using the type checker or making use of the upcoming functionality intsutils to track all uses of an identifier.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp