Features

Lines longer than - the package provides a configurable lint similar to line_longer_than_80_chars. With this package you can set any line length for analyzer.

Usage

analysis_options.yaml

custom_lint:
  rules:
    - lines_longer_than:
      chars_limit: 112

analyzer:
  plugins:
    - custom_lint

pubspec.yaml


dev_dependencies:
  lines_longer_than: ^1.0.0

Example

screenshot of our line_longer_than custom lint in the IDE

Additional information

The package base on custom_lint.

Unfortunately, running dart analyze does not support newly defined lints. We need a separate command for this dart run custom_lint