clean-up analysis_options.yaml's across the repository (#81986)

This commit is contained in:
Michael Goderbauer
2021-05-10 23:44:02 -07:00
committed by GitHub
parent 4a939d7a57
commit 2bf42e7047
7 changed files with 15 additions and 28 deletions

View File

@@ -1,24 +1,16 @@
# Specify analysis options.
# This file is deprecated and only included in the framework to maintain
# backwards compatibility. DO NOT MAKE CHANGES TO THIS FILE.
#
# Until there are meta linter rules, each desired lint must be explicitly enabled.
# See: https://github.com/dart-lang/linter/issues/288
#
# For a list of lints, see: http://dart-lang.github.io/linter/lints/
# See the configuration guide for more
# https://github.com/dart-lang/sdk/tree/master/pkg/analyzer#configuring-the-analyzer
#
# There are four similar analysis options files in the flutter repos:
# - analysis_options.yaml
# - packages/flutter/lib/analysis_options_user.yaml (this file)
# - https://github.com/flutter/plugins/blob/master/analysis_options.yaml
# - https://github.com/flutter/engine/blob/master/analysis_options.yaml
# The recommended analyzer options for Flutter code (apps, packages, and
# plugins) outside the Flutter repositories are now defined by
# package:flutter_lints located at
# https://github.com/flutter/packages/tree/master/packages/flutter_lints
#
# Old documentation:
# This file contains the analysis options used by "flutter analyze" and the
# dartanalyzer when analyzing code outside the flutter repository. It isn't named
# 'analysis_options.yaml' because otherwise editors would use it when analyzing
# the flutter tool itself.
#
# When editing, make sure you keep this and /analysis_options.yaml consistent.
analyzer:
errors: