Skip to content

Commit

Permalink
[all] Switch to pedantic analysis rules (flutter#2300)
Browse files Browse the repository at this point in the history
Switches our out of date fork of Flutter's analysis rules to the
pedantic package. In order to make this an easy change to initially land
and then incrementally enable, any existing non-trivial lints have just
been ignored within their respective packages instead of being fixed.

Also adds a global lint for missing public DartDocs. Like the pedantic
lints, this is ignored in packages that are already failing it.
  • Loading branch information
Michael Klimushyn authored Nov 25, 2019
1 parent 295cb79 commit d977d2d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This is a temporary file to allow us to land a new set of linter rules in a
# series of manageable patches instead of one gigantic PR. It disables some of
# the new lints that are already failing on this plugin, for this plugin. It
# should be deleted and the failing lints addressed as soon as possible.

include: ../../analysis_options.yaml

analyzer:
errors:
public_member_api_docs: ignore
unawaited_futures: ignore

0 comments on commit d977d2d

Please sign in to comment.