Some example analysis options files.

  • all.yaml - auto-generated options enabling all lints.

For more on lint rule sets see the analyzer docs on customizing static analysis.

For a canonical set of rules used internally at Google and by an increasing number of tools, see package:pedantic.

For a manually maintained set of rules corresponding to the Effective Dart guide, see package:effective_dart.