jonataslaw / get_cli

Official Getx CLI
Apache License 2.0
590 stars 171 forks source link

`getx sort` does not apply the rules configured in the `analysis_options.yaml`. #214

Open wtto00 opened 1 year ago

wtto00 commented 1 year ago

File analysis_options.yaml:

include: package:flutter_lints/flutter.yaml
linter:
  rules:
    line_length:
      # specify the maximum line length
      max_line_length: 120

If I run getx sort, it will break paragraphs with more than 80 characters into multiple lines.

The max_line_length: 120 that I configured is useless.

In VS Code, I configured this and it works well:

"[dart]": {
  "editor.rulers": [120],
},