blob: f4b1f253b4b0cac36aa0328624e1c037d0845a91 [file] [log] [blame]
# Web-specific analysis options.
#
# As of today the web code contains quite a few deviations from the repo-wide
# analysis options due to having been migrated from google3. The ultimate goal
# is to clean up our code and delete this file.
include: ../../analysis_options.yaml
analyzer:
strong-mode:
implicit-casts: true
implicit-dynamic: true
linter:
rules:
package_api_docs: false
prefer_foreach: false
prefer_generic_function_type_aliases: false
prefer_initializing_formals: false
prefer_single_quotes: false
prefer_typing_uninitialized_variables: false
public_member_api_docs: false
flutter_style_todos: false
# We have some legitimate use-cases for this (preserve tear-off identity)
prefer_function_declarations_over_variables: false