Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Fix newly enforced package:pedantic lints #111

Merged
merged 3 commits into from
Dec 11, 2019
Merged

Conversation

natebosch
Copy link
Contributor

  • always_declare_return_types
  • annotate_overrides
  • omit_local_variable_types
  • prefer_conditional_assignment
  • prefer_if_null_operators
  • prefer_single_quotes
  • use_function_type_syntax_for_parameters

Ignore prefer_collection_literals lints since they would require
incorrect code where a {} (statically a Map) is assigned to a static
LinkedHashMap. See https://github.com/dart-lang/linter/issues/1649

- always_declare_return_types
- annotate_overrides
- omit_local_variable_types
- prefer_conditional_assignment
- prefer_if_null_operators
- prefer_single_quotes
- use_function_type_syntax_for_parameters

Ignore prefer_collection_literals lints since they would require
incorrect code where a `{}` (statically a `Map`) is assigned to a static
`LinkedHashMap`. See https://github.com/dart-lang/linter/issues/1649
@googlebot googlebot added the cla: yes Google CLA signed label Dec 10, 2019
@natebosch natebosch merged commit 083a36c into master Dec 11, 2019
@natebosch natebosch deleted the new-pedantic-lints branch December 11, 2019 00:41
mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
- always_declare_return_types
- annotate_overrides
- omit_local_variable_types
- prefer_conditional_assignment
- prefer_if_null_operators
- prefer_single_quotes
- use_function_type_syntax_for_parameters

Ignore prefer_collection_literals lints since they would require
incorrect code where a `{}` (statically a `Map`) is assigned to a static
`LinkedHashMap`. See https://github.com/dart-lang/linter/issues/1649
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Google CLA signed
Development

Successfully merging this pull request may close these issues.

3 participants