Skip to content

Lint for lowercase_with_underscores library prefixes (Style Guide) #57165

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

Closed
pq opened this issue Feb 10, 2015 · 1 comment
Closed

Lint for lowercase_with_underscores library prefixes (Style Guide) #57165

pq opened this issue Feb 10, 2015 · 1 comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. type-enhancement A request for a change that isn't a bug

Comments

@pq
Copy link
Member

pq commented Feb 10, 2015

DO use lowercase_with_underscores when specifying a library prefix.

GOOD:

import 'dart:math' as math;
import 'dart:json' as json;
import 'package:js/js.dart' as js;
import 'package:javascript_utils/javascript_utils.dart' as js_utils;

BAD:

import 'dart:math' as Math;
import 'dart:json' as JSON;
import 'package:js/js.dart' as JS;
import 'package:javascript_utils/javascript_utils.dart' as jsUtils;
@pq pq added the type-enhancement A request for a change that isn't a bug label Feb 10, 2015
@pq pq changed the title Lint for lowercase_with_underscores when specifying a library prefix (Style Guide) Lint for lowercase_with_underscores library prefixes (Style Guide) Feb 10, 2015
@pq
Copy link
Member Author

pq commented Feb 13, 2015

Accidentally closed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants