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

1696 custom lint rules with 286 quick fixes for Flutter and Dart. Static analysis for security, accessibility, and performance.

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
3
likes
0
points
4.78k
downloads

Publisher

verified publishersaropa.com

Weekly Downloads

1696 custom lint rules with 286 quick fixes for Flutter and Dart. Static analysis for security, accessibility, and performance.

Homepage
Repository (GitHub)
View/report issues

Topics

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

License

unknown (license)

Dependencies

analyzer, custom_lint_builder, json2yaml, yaml

More

Packages that depend on saropa_lints