agent_lints 0.1.2 copy "agent_lints: ^0.1.2" to clipboard
agent_lints: ^0.1.2 copied to clipboard

Agent-first custom lint for Dart and Flutter. Define project rules in YAML; get instructional diagnostics from the CLI, dart analyze and your IDE.

0.1.2 #

  • README: context around the example.

0.1.1 #

  • README: absolute documentation links so they work on pub.dev.

0.1.0 #

Initial release. Under active development: the rule language may still change before 1.0.

  • Rules in agent_lints.yaml: match: (node kinds new, call, ref, import, class, function, variable, literal, file; args constraints; inside / not_inside / contains / not_contains; any / all / not), plus banned, imports and naming sugar.
  • Messages with {{placeholders}}, values: lists with {{allowed}} and {{closest}}, examples: { bad, good }.
  • CLI: check (agent / human / json / sarif output, --changed, --files, --rule, --show-suppressed), validate, explain, test, init.
  • Analyzer plugin for dart analyze, flutter analyze and IDEs; every rule id is a diagnostic code with the configured severity.
  • file matcher with line and code-line bounds; explain, test and init commands; documentation under docs/.
  • // ignore: agent_lints/<rule> -- reason suppression, unused_ignore and ignore_without_reason reports.
1
likes
160
points
15
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Agent-first custom lint for Dart and Flutter. Define project rules in YAML; get instructional diagnostics from the CLI, dart analyze and your IDE.

Repository (GitHub)
View/report issues

Topics

#lint #analyzer #flutter #agents

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, args, collection, glob, meta, path, source_span, yaml, yaml_edit

More

Packages that depend on agent_lints