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

Lint to split comments when > line length #57152

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

Lint to split comments when > line length #57152

pq opened this issue Feb 4, 2015 · 1 comment
Labels
analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. linter-lint-request type-enhancement A request for a change that isn't a bug

Comments

@pq
Copy link
Member

pq commented Feb 4, 2015

Migrated from dartbug.com/22003:

I ran dartformat like this:

dartformat -l 58 -w *.dart

The input file included these two lines:

  // _cache is library-private, thanks to the _ in front of its name.
  static final Map<String, Logger> _cache = <String, Logger>{};

The output for those lines was this:

  // _cache is library-private, thanks to the _ in front of its name.
  static final Map<String, Logger> _cache =
      <String, Logger>{};

I expected something like this:

  // _cache is library-private, thanks to the _ in front
  // of its name.
  static final Map<String, Logger> _cache =
      <String, Logger>{};
@pq pq added the type-enhancement A request for a change that isn't a bug label Feb 4, 2015
@pq pq changed the title Comments should be split when > line length Lint to split comments when > line length Feb 7, 2015
@pq
Copy link
Member Author

pq commented Jun 22, 2018

Closing in favor of: #57705.

@pq pq closed this as completed Jun 22, 2018
@devoncarew devoncarew added analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Nov 18, 2024
@devoncarew devoncarew transferred this issue from dart-lang/linter Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. linter-lint-request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants