lines_longer_than 1.0.0 copy "lines_longer_than: ^1.0.0" to clipboard
lines_longer_than: ^1.0.0 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

dependencies:
  flutter:
    sdk: flutter
  custom_lint: ^0.5.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  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
0
pub points
35%
popularity

Publisher

unverified uploader

the package provides a configurable lint similar to line_longer_than_80_chars.

License

unknown (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