supabase_lints 0.1.1
supabase_lints: ^0.1.1 copied to clipboard
Shared analyzer and DCM lint configuration for the Supabase Flutter packages.
supabase_lints
Shared analyzer and DCM lint configuration for the Supabase Flutter packages.
This package is meant for internal use across this monorepo.
Usage #
Add it to your dev_dependencies:
dev_dependencies:
supabase_lints: any
Include the rules in your analysis_options.yaml.
For a Dart package:
include: package:supabase_lints/analysis_options.yaml
For a Flutter package:
include: package:supabase_lints/analysis_options_flutter.yaml
Both configurations enable the DCM recommended preset. Rules that the existing
codebase does not yet pass are disabled in analysis_options.yaml and are
re-enabled one by one as the violations get fixed.
License #
This repo is licensed under MIT.