dart-sdk/pkg/dev_compiler/analysis_options.yaml
Nicholas Shahan 38e5e9bc19 [ddc] Update pedantic version to 1.11.0
Apply new lints, cleanup violations, and ignore in `lib/src/js_ast` to
avoid adding additional diffs with the version it was forked from.

Change-Id: I1def25865bf195120c594223ebdc0f59139e75b7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192241
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2021-03-24 17:35:32 +00:00

22 lines
446 B
YAML

include: package:pedantic/analysis_options.1.11.0.yaml
analyzer:
strong-mode:
implicit-casts: false
errors:
todo: ignore
exclude:
- doc/api/**
- gen/**
- node_modules/**
- test/codegen/**
- test/samples/**
- test/transformer/hello_app/**
linter:
rules:
# Not enforced by pedantic at any version.
- directives_ordering
- prefer_null_aware_operators
- prefer_typing_uninitialized_variables