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

Document lint rule set configuration. #25137

Closed
pq opened this issue Dec 7, 2015 · 3 comments
Closed

Document lint rule set configuration. #25137

pq opened this issue Dec 7, 2015 · 3 comments
Labels
analyzer-command Issues with the command-line dartanalyzer tool area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@pq
Copy link
Member

pq commented Dec 7, 2015

From @pq on October 13, 2015 15:33

Lint rules can be enabled via .analysis_options and the syntax needs to be documented.

linter:
  rules:
    - camel_case_types
    - empty_constructor_bodies
    - library_names
    - super_goes_last

Copied from original issue: dart-lang/analyzer_cli#70

@pq pq added the enhancement label Dec 7, 2015
@pq
Copy link
Member Author

pq commented Dec 7, 2015

From @zoechi on October 13, 2015 19:22

And the list of lint rule names. Looks like #69 is about this, right?

@pq pq added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. Priority-Medium analyzer-command Issues with the command-line dartanalyzer tool and removed area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Dec 7, 2015
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed Priority-Medium labels Mar 1, 2016
@bwilkerson
Copy link
Member

@pq Is this still needed?

@zoechi
Copy link
Contributor

zoechi commented Jan 29, 2018

https://www.dartlang.org/guides/language/analysis-options should do it
The linter packages readme also contains this link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-command Issues with the command-line dartanalyzer tool area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants