Avoid analyzing API example code twice, clean-up (#103548)

This commit is contained in:
Michael Goderbauer
2022-05-11 21:27:45 -07:00
committed by GitHub
parent 2b19ecdc27
commit 8bec125aaf
26 changed files with 958 additions and 1386 deletions

View File

@@ -1,7 +1,11 @@
# This file is also used by dev/bots/analyze_snippet_code.dart to analyze code snippets (`{@tool snippet}` sections).
include: ../../analysis_options.yaml
linter:
rules:
# Samples want to print things pretty often.
avoid_print: false
# TODO(goderbauer): enable when super params are more established and
# seeing them in the API samples is no longer surprising,
# https://github.com/flutter/flutter/issues/101068

View File

@@ -1,3 +1,5 @@
# This file is also used by dev/bots/analyze_snippet_code.dart to analyze code snippets (`{@tool snippet}` sections).
name: flutter_api_samples
description: API code samples for the Flutter repo.
publish_to: 'none'