-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Lint for lowercase_with_underscores library names and source files (Style Guide) #57164
Comments
Fixed with 8a5f09d |
That appears to be coming from the @pq The highlight range should be fixed so that only the first character of the file is highlighted (or none of the characters). But if you want to get rid of the lint, then you'll need to edit your |
@bwilkerson thankyou sir |
💯 This is pretty bad as is. Working up a fix now. |
DO name libraries and source files using lowercase_with_underscores.
Some file systems are not case-sensitive, so many projects require filenames to be all lowercase. Using a separate character allows names to still be readable in that form. Using underscores as the separator ensures that the name is still a valid Dart identifier, which may be helpful if the language later supports symbolic imports.
GOOD:
slider_menu.dart
file_system.dart
library peg_parser;
BAD:
SliderMenu.dart
filesystem.dart
library peg-parser;
The text was updated successfully, but these errors were encountered: