pyramid_lint 2.0.0 copy "pyramid_lint: ^2.0.0" to clipboard
pyramid_lint: ^2.0.0 copied to clipboard

Linting tool for Dart and Flutter projects to encourage good coding practices.

logo

Linting tool for Dart and Flutter projects.

Pyramid Lint #

Pyramid Lint is a linting tool for Dart and Flutter projects. It provides a set of additional lints and quick fixes to help developers identify issues within their Dart code, offers suggestions for potential fixes, and enforces consistent coding styles.

Pyramid Lint is built with custom_lint.

Quick Start #

Run the following command to add custom_lint and pyramid_lint to your project's dev dependencies:

dart pub add dev: custom_lint dev:pyramid_lint

Then enable custom_lint in your analysis_options.yaml file.

analyzer:
  plugins:
    - custom_lint

By default, all lints are disabled. To enable a specific lint, add the following to your analysis_options.yaml file:

custom_lint:
  rules:
    - specific_lint_rule # enable specific_lint_rule

A list of all available lints can be found here.

A lint preset is available to help you get started.

For more information, please visit the documentation.

Contributing #

Contributions are appreciated! You can contribute by:

  • Creating an issue to report a bug or suggest a new feature.
  • Submitting a pull request to fix a bug or implement a new feature.
  • Improving the documentation.

To get started contributing to Pyramid Lint, please refer to the Contributing guide.

License #

Pyramid Lint is licensed under the MIT License.

8
likes
110
pub points
78%
popularity
screenshot

Publisher

unverified uploader

Linting tool for Dart and Flutter projects to encourage good coding practices.

Repository (GitHub)
View/report issues
Contributing

Topics

#lint #lints #linter #analyzer

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, collection, custom_lint_builder, meta, pub_semver, pubspec_parse, yaml

More

Packages that depend on pyramid_lint