impeccable_flutter_lints library
impeccable_flutter_lints
Plugin custom_lint que registra regras de detecção de anti-padrões de design em código Flutter. Cobre AI slop (Colors.deepPurple, Curves.bounce, gradient AppBar, gradient text, nested cards, dark glow, AI color palette, monotonous spacing) e qualidade (TextStyle literal, missing tooltip, justified text, tiny text, tight leading, material baseline, useMaterial3 false).
Uso pelo consumidor: dev_dependencies: custom_lint: ^0.7.0 impeccable_flutter_lints: ^0.0.1
analysis_options.yaml: analyzer: plugins: - custom_lint
$ dart run custom_lint
Functions
-
createPlugin(
) → PluginBase -
Entrypoint do plugin. Chamado pelo
custom_lintrunner.