Flutter : how to ignore rule of lines_longer_than_80_chars

Viewed 830

How to ignore rule of "lines_longer_than_80_chars"

I use pedantic: ^1.8.0 lib for add Lints.

I dont which linter rules add for this. Thank you

2 Answers

Add the below lines in analysis_options.yaml file

analyzer:
  errors:
    lines_longer_than_80_chars: ignore

Modify the analysis_options.yaml and add the lines_longer_than_80_chars: ignore

My analysis_options.yaml looks like this:

include: package:flutter_lints/flutter.yaml
linter:
  rules:
    lines_longer_than_80_chars: ignore
Related