hyper_lint 0.0.2 copy "hyper_lint: ^0.0.2" to clipboard
hyper_lint: ^0.0.2 copied to clipboard

Hyperlint is a powerful linting package for Flutter and Dart projects. It provides a comprehensive set of rules that can help you identify and fix potential errors, style issues, and performance problems.

Hyper Lint #

style: very good analysis Powered by Mason License: MIT

Hyperlint is a powerful linting package for Flutter and Dart projects. It provides a comprehensive set of rules that can help you identify and fix potential errors, style issues, and performance problems.

Hyperlint is built on top of the Dart linter, but it adds a number of additional features and rules that are specifically designed for Flutter and Dart projects. For example, Hyperlint includes rules to detect common Flutter widget errors, such as using the wrong widget type or setting the wrong properties. It also includes rules to enforce the Flutter style guide, such as using the correct naming conventions and indentation.

Hyperlint is also highly customizable. You can enable or disable individual rules, or even create your own custom rules. This makes it easy to tailor Hyperlint to meet the specific needs of your project and team.

Installation 💻 #

❗ In order to start using Hyper Lint you must have the Dart SDK installed on your machine.

Install via dart pub add:

dart pub add hyper_lint

Installing #

  1. Add dependencies to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dev

    dependencies:
        hyper_lint: <latest-version>
    
  2. Run pub get.

    flutter pub get
    
  3. Import package in the analysis_options.yaml

    include: package:hyper_lint/analysis_options.yaml
    

Suppressing Lints #

There might some case where we have to suppres the linting error

File Level #

To surpress a specific lint rule of a specific file, use an ignore_for_file comment at the top of the file:

// ignore_for_file: public_member_api_docs

class Car {}

class Suv {}

Project Level #

To surpress a specific lint rule for an entire project, modify analysis_options.yaml:

include: package:hyper_lint/analysis_options.yaml
linter:
  rules:
    public_member_api_docs: false

Main Contributors #


Jemis Goti

Feedback #

If you have any feedback, please reach out to us at jemis.dev@gmail.com

Thanks #

Thank you for using this package and keep supporting opensource community.

1
likes
150
points
3.35k
downloads

Publisher

unverified uploader

Weekly Downloads

Hyperlint is a powerful linting package for Flutter and Dart projects. It provides a comprehensive set of rules that can help you identify and fix potential errors, style issues, and performance problems.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on hyper_lint