Provides all_lint_rules.yaml that activates all rules and altive_lints.yaml with Altive recommended rule selection.
dev_dependencies:
altive_lints: anyaltive_lints 4.x keeps the preset analyzer-independent and resolves its
Analyzer Plugin separately. It can therefore be used by Flutter 3.44.7
workspaces that contain both flutter_test and Dart packages using test.
See the
SDK and package compatibility table
for details.
The standard setup is unchanged: depend on altive_lints: ^4.0.0 and include
package:altive_lints/altive_lints.yaml. Do not add
altive_lints_plugin to the application's pubspec.yaml; the analysis server
resolves it separately.
Existing ignore comments must change from altive_lints/<rule> to
altive_lints_plugin/<rule>. Restart the Dart Analysis Server after upgrading.
See the full v4 migration guide.
- Copy analysis_options.yaml to your project root.
- Add your rules if needed.
- Copy analysis_options.yaml to your project root.
- Rewrite "altive_lints.yaml" to "all_lint_rules.yaml".
# https://pub.dev/packages/altive_lints
include: package:altive_lints/all_lint_rules.yaml
- Add your rules if needed.
https://dart.dev/tools/linter-rules/all
See CONTRIBUTING.md.