supabase_lints

Shared analyzer and DCM lint configuration for the Supabase Flutter packages. It 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.

Libraries

supabase_lints
The supabase_lints package does not ship any Dart source code.