saropa_lints 0.1.6 copy "saropa_lints: ^0.1.6" to clipboard
saropa_lints: ^0.1.6 copied to clipboard

1,000+ custom lint rules for Flutter and Dart. The most comprehensive lint package available. Free and open source. 5 tiers from Essential to Insanity.

example/example.md

Saropa Lints Example Configuration #

This file shows a complete custom_lint.yaml configuration with all 475+ rules.

Setup #

  1. Add to pubspec.yaml:
dev_dependencies:
  custom_lint: ^0.8.0
  saropa_lints: ^0.1.1
  1. Add to analysis_options.yaml:
analyzer:
  plugins:
    - custom_lint
  1. Copy custom_lint.yaml to your project root and enable the rules you want.

Configuration Reference #

See custom_lint.yaml for the complete configuration with all rules organized by category:

  • Security - Credentials, encryption, input validation
  • Accessibility - Screen readers, touch targets, semantics
  • Null Safety - Proper null handling
  • Error Handling - Exception management
  • Architecture - Clean architecture patterns
  • Flutter Lifecycle - Widget state management
  • Performance - Build optimization, memory
  • Async - Futures, Streams
  • Collections - Safe collection usage
  • Control Flow - Conditionals, loops
  • And 20+ more categories...

Importance Levels #

Each rule is tagged with an importance level:

Level Meaning
[CRITICAL] Bugs, crashes, data loss, security issues
[HIGH] Likely bugs, performance problems
[MEDIUM] Code quality, maintainability
[LOW] Style preferences
[NOISY] Valid but generates many warnings

Running the Linter #

dart run custom_lint
1
likes
0
points
927
downloads

Publisher

verified publishersaropa.com

Weekly Downloads

1,000+ custom lint rules for Flutter and Dart. The most comprehensive lint package available. Free and open source. 5 tiers from Essential to Insanity.

Repository (GitHub)
View/report issues

Topics

#linter #static-analysis #code-quality #flutter #dart

License

unknown (license)

Dependencies

analyzer, custom_lint_builder

More

Packages that depend on saropa_lints