lines_longer_than 1.0.3 copy "lines_longer_than: ^1.0.3" to clipboard
lines_longer_than: ^1.0.3 copied to clipboard

the package provides a configurable lint similar to line_longer_than_80_chars.

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

1
likes
130
pub points
8%
popularity

Publisher

unverified uploader

the package provides a configurable lint similar to line_longer_than_80_chars.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, collection, custom_lint, custom_lint_builder, flutter, freezed_annotation, json_annotation, meta, source_gen

More

Packages that depend on lines_longer_than