Skip to content

support flatcasing for golang #284

Open
@buzzdan

Description

@buzzdan

i would like ls-lint to support flatcase (lowercase letters and digits) for directories and files
this is the recommendation in the Go Style Guide.
Read more in this blog post:
https://www.mohitkhare.com/blog/go-naming-conventions/

for now i use it like this:

ls:
  internal:
    .go: regex:^[a-z0-9]+$
    .dir: regex:^[a-z0-9]+$
  pkg:
    .go: regex:^[a-z0-9]+$
    .dir: regex:^[a-z0-9]+$

i would love to have something like that:

ls:
 {internal,pkg}:
    .go: flatcase
    .dir: flatcase

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions