lints_tool 1.0.1 copy "lints_tool: ^1.0.1" to clipboard
lints_tool: ^1.0.1 copied to clipboard

A strict, prod-ready lint and analyzer rule set for Dart and Flutter projects, built on flutter_lints and DCM.

example/example.md

Using lints_tool #

Include the rule set from analysis_options.yaml:

include: package:lints_tool/lints_tool.yaml

formatter:
  page_width: 120
  trailing_commas: preserve

Depend on it as a dev dependency:

dev_dependencies:
  lints_tool:
    git:
      url: https://github.com/zs-dima/lints_tool.git
      ref: v1.0.1

Then run the analyzer with infos and warnings fatal, which is what CI does:

dart analyze --fatal-infos --fatal-warnings

The DCM rules in the same file apply when a DCM licence is present (dcm analyze .); without one they do nothing and the analyzer half still holds.

1
likes
160
points
46
downloads

Documentation

API reference

Publisher

verified publisherdmitrii.app

Weekly Downloads

A strict, prod-ready lint and analyzer rule set for Dart and Flutter projects, built on flutter_lints and DCM.

Repository (GitHub)
View/report issues

Topics

#lints #analyzer #dcm #style

License

MIT (license)

More

Packages that depend on lints_tool