halkyon/analysis_options.yaml

17 lines
793 B
YAML
Raw Permalink Normal View History

# Lint rules for the whole pub workspace: LeanCode's strict set (leancode_lint), which
# raises most rules to warnings and turns on strict casts, inference and raw types, plus
# its analyzer plugin with rules for blocs, Equatable and Flutter layout.
#
# Analyzer plugins can only be enabled here, at the root of a pub workspace, and they only
# apply to packages whose analysis_options.yaml includes this file. The server and the app
# include it; the generated client keeps its own options, because it is never edited.
include: package:leancode_lint/analysis_options.yaml
plugins:
leancode_lint: ^27.0.0
analyzer:
# Others' plugins, patched for their Gradle files alone (third_party/README.md),
# are analysed and formatted as their authors keep them.
exclude:
- third_party/**