Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Style - allow underline in identifier names #1284

Closed
zoechi opened this issue Mar 17, 2015 · 1 comment
Closed

Style - allow underline in identifier names #1284

zoechi opened this issue Mar 17, 2015 · 1 comment

Comments

@zoechi
Copy link

zoechi commented Mar 17, 2015

I think the types, constant, and identifier name rules are too strict.

See dart-lang/linter#52

I think underlines should be allowed when the casing of the first character is correct and upper- and lower-case characters are used.

I think underlines should be allowed to avoid ambiguity.
This didn't matter as long as there was no linter but I think it's too inconvenient to add a linter ignore comment for each such name (not supported yet anyway)

@munificent
Copy link
Contributor

Sorry, but I really don't think underscores need to be allowed in those kinds of names.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants