[go: up one dir, main page]

Skip to content

charlescyt/pyramid_lint

Repository files navigation

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.