Skip to content

app_lints Free

Custom lint rules package for enforcing coding standards and architecture conventions using the Dart analyzer plugin system.

Version: 1.0.0

Variables

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this is being generated as part of a monorepo

Usage

Interactive

bash
archipelago generate app_lints

Non-interactive (CI)

bash
archipelago generate app_lints --config my_config.json

Config Template

json
{
  "@appName": "The name of your application",
  "appName": "MyApp",
  "@isForMonorepo": "Whether this is being generated as part of a monorepo",
  "isForMonorepo": true
}

Generated Structure

utilities/
└── app_lints/
    ├── lib/
    │   ├── app_lints.dart                 # Barrel export
    │   ├── main.dart                      # Plugin entry point
    │   └── src/
    │       └── rules/
    │           ├── api_no_external_deps_rule.dart
    │           ├── no_impl_cross_import_rule.dart
    │           └── no_upward_dependency_rule.dart
    ├── analysis_options.yaml
    └── pubspec.yaml

Built by Banua Coder