Clean-up analysis_options files (#77098)
This commit is contained in:
parent
cdca6485f0
commit
0f91f0d48a
@ -36,13 +36,10 @@ analyzer:
|
||||
# Stream and not importing dart:async
|
||||
# Please see https://github.com/flutter/flutter/pull/24528 for details.
|
||||
sdk_version_async_exported_from_core: ignore
|
||||
# Turned off until null-safe rollout is complete.
|
||||
unnecessary_null_comparison: ignore
|
||||
exclude:
|
||||
- "bin/cache/**"
|
||||
# the following two are relative to the stocks example and the flutter package respectively
|
||||
# see https://github.com/dart-lang/sdk/issues/28463
|
||||
- "lib/i18n/messages_*.dart"
|
||||
- "lib/src/http/**"
|
||||
- "test_fixes/**"
|
||||
|
||||
linter:
|
||||
rules:
|
||||
|
@ -1,4 +1,3 @@
|
||||
analyzer:
|
||||
exclude:
|
||||
- '**'
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
# Use the parent analysis options settings and enable null-experiment.
|
||||
|
||||
include: ../../analysis_options.yaml
|
||||
|
||||
analyzer:
|
||||
errors:
|
||||
always_require_non_null_named_parameters: false # not needed with nnbd
|
||||
type_init_formals: false # https://github.com/dart-lang/linter/issues/2192
|
||||
unrelated_type_equality_checks: false # https://github.com/dart-lang/linter/issues/2196
|
||||
void_checks: false # https://github.com/dart-lang/linter/issues/2185
|
||||
unnecessary_null_comparison: false # Turned off until null-safe rollout is complete.
|
@ -1,8 +1,5 @@
|
||||
# Use the parent analysis options settings and enable null-experiment.
|
||||
|
||||
include: ../analysis_options.yaml
|
||||
|
||||
analyzer:
|
||||
errors:
|
||||
always_require_non_null_named_parameters: false # not needed with nnbd
|
||||
unnecessary_null_comparison: false # Turned off until null-safe rollout is complete.
|
||||
exclude:
|
||||
- "test_fixes/**"
|
||||
|
@ -1 +0,0 @@
|
||||
include: ../analysis_options.yaml
|
@ -1,11 +0,0 @@
|
||||
# Use the parent analysis options settings and enable null-experiment.
|
||||
|
||||
include: ../analysis_options.yaml
|
||||
|
||||
analyzer:
|
||||
errors:
|
||||
always_require_non_null_named_parameters: false # not needed with nnbd
|
||||
type_init_formals: false # https://github.com/dart-lang/linter/issues/2192
|
||||
unrelated_type_equality_checks: false # https://github.com/dart-lang/linter/issues/2196
|
||||
void_checks: false # https://github.com/dart-lang/linter/issues/2185
|
||||
unnecessary_null_comparison: false # Turned off until null-safe rollout is complete.
|
@ -1,4 +0,0 @@
|
||||
# Use the analysis options settings from the top level of the repo (not
|
||||
# the ones from above, which include the `public_member_api_docs` rule).
|
||||
|
||||
include: ../../analysis_options.yaml
|
@ -1,4 +0,0 @@
|
||||
# Use the analysis options settings from the top level of the repo (not
|
||||
# the ones from above, which include the `public_member_api_docs` rule).
|
||||
|
||||
include: ../../analysis_options.yaml
|
@ -22,6 +22,10 @@ const String _kTestBrowserKey = 'FLUTTER_TEST_BROWSER';
|
||||
/// A client for uploading image tests and making baseline requests to the
|
||||
/// Flutter Gold Dashboard.
|
||||
class SkiaGoldClient {
|
||||
/// Creates a [SkiaGoldClient] with the given [workDirectory].
|
||||
///
|
||||
/// All other parameters are optional. They may be provided in tests to
|
||||
/// override the defaults for [fs], [process], [platform], and [httpClient].
|
||||
SkiaGoldClient(
|
||||
this.workDirectory, {
|
||||
this.fs = const LocalFileSystem(),
|
||||
|
@ -1,11 +0,0 @@
|
||||
# Use the parent analysis options settings and enable null-experiment.
|
||||
|
||||
include: ../analysis_options.yaml
|
||||
|
||||
analyzer:
|
||||
errors:
|
||||
always_require_non_null_named_parameters: false # not needed with nnbd
|
||||
type_init_formals: false # https://github.com/dart-lang/linter/issues/2192
|
||||
unrelated_type_equality_checks: false # https://github.com/dart-lang/linter/issues/2196
|
||||
void_checks: false # https://github.com/dart-lang/linter/issues/2185
|
||||
unnecessary_null_comparison: false # Turned off until null-safe rollout is complete.
|
@ -1,10 +0,0 @@
|
||||
# Use the parent analysis options settings and enable null-experiment.
|
||||
|
||||
include: ../analysis_options.yaml
|
||||
|
||||
analyzer:
|
||||
errors:
|
||||
always_require_non_null_named_parameters: false # not needed with nnbd
|
||||
unrelated_type_equality_checks: false # https://github.com/dart-lang/linter/issues/2196
|
||||
void_checks: false # https://github.com/dart-lang/linter/issues/2185
|
||||
unnecessary_null_comparison: false # Turned off until null-safe rollout is complete.
|
Loading…
x
Reference in New Issue
Block a user