Skip to content
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

Consider adding a means to turn on default lints with an analysis option. #27189

Closed
pq opened this issue Aug 29, 2016 · 2 comments
Closed

Consider adding a means to turn on default lints with an analysis option. #27189

pq opened this issue Aug 29, 2016 · 2 comments
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. customer-flutter devexp-linter Issues with the analyzer's support for the linter package P2 A bug or feature request we're likely to work on

Comments

@pq
Copy link
Member

pq commented Aug 29, 2016

The analyzer supports a default set of lints with the --lints flag. We should consider a means to flip this bit with .analysis_options as well. (See flutter/flutter#5573 for discussion.)

@pq pq added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-linter Issues with the analyzer's support for the linter package customer-flutter P2 A bug or feature request we're likely to work on labels Aug 29, 2016
@bwilkerson
Copy link
Member

FWIW, I think support for lint groups is the better way to do this. We could have a single solution that would satisfy all of the known use cases instead of multiple solutions that overlap and conflict. The --lint option could be extended to take a group, and if none is given could default to the "default" group.

@pq
Copy link
Member Author

pq commented Jun 21, 2018

Closing in favor of ongoing discussions of "meta-lints": #57364

@pq pq closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. customer-flutter devexp-linter Issues with the analyzer's support for the linter package P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

2 participants