Skip to content

Disable prefer_match_file_name when using extensions or make it configurable. #189

@arthurbcd

Description

@arthurbcd

Description:
This lint is excellent and works really well, especially for classes. However, I believe it shouldn’t be applied to extensions at all. Extensions are often grouped and can have varied and distinct names, making it impractical to enforce the same rules as for regular code.

If applying the lint to extensions is necessary, it should at least provide an option to enable or disable it. This flexibility would allow developers to decide whether or not it fits their use case, especially when dealing with extensions heavily.

Proposed Solution:
• Do not apply the lint to extensions by default.
• If that’s not possible, provide a configurable option to enable or disable the lint specifically for extensions.

This change would make the lint more adaptable to real-world scenarios without disrupting common practices like grouping extensions.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions