surf_lint_rules
4.0.0, released 2 years ago by surf.ru
Lint rules for Dart and Flutter projects from Surf company.
WASM-ready
What it does
Provides a curated set of const, error, and style lint rules specifically used by Surf for Dart and Flutter projects, building upon flutter_lints.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to apply Surf's coding standards and lint rules to your Flutter or Dart project.
- You are looking to extend standard linting with a pre-configured set of error and style checks.
Skip it when
- You prefer default Flutter lints without external modifications.
- You disagree with specific style or error rules bundled in Surf's configuration.
Strengths
- Pre-configured set of lint rules optimized for professional Flutter development.
- Keeps up to date with recent flutter_lints and Dart versions.
Weaknesses
- Opinionated set of rules that may require overriding if they conflict with your team's style.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to pubspec.yaml and include it in analysis_options.yaml.
include: package:surf_lint_rules/analysis_options.yamlAlternatives
Packages that do the same job and could replace surf_lint_rules.
Works with
Packages commonly used together with surf_lint_rules: ones it builds on, ones built on it, and its own family.