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
| Variable | Type | Default | Description |
|---|---|---|---|
| appName | string | MyApp | The name of your application |
| isForMonorepo | boolean | true | Whether this is being generated as part of a monorepo |
Usage
Interactive
bash
archipelago generate app_lintsNon-interactive (CI)
bash
archipelago generate app_lints --config my_config.jsonConfig 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