Skip to content

Commit

Permalink
Analyser fixes (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: maksnevor <maksnevor14@gmail.com>
  • Loading branch information
maksnevor and maksnevor authored May 11, 2023
1 parent 8bc15b2 commit b0571aa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Lint rules to be used for apps without developer facing API. i.e. command line tools and Flutter applications
##
analyzer:
strong-mode:
language:
# Will become the default once non-nullable types land
# https://github.com/dart-lang/sdk/issues/31410#issuecomment-510683629
implicit-casts: true
strict-casts: true
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
Expand Down Expand Up @@ -498,11 +498,6 @@ linter:
# https://dart-lang.github.io/linter/lints/prefer_double_quotes.html
# - prefer_double_quotes

# Prevent confusion with call-side when using named parameters
# pedantic: enabled
# https://dart-lang.github.io/linter/lints/prefer_equal_for_default_values.html
- prefer_equal_for_default_values

# Single line methods + implementation makes it hard to write comments for that line.
# Dense code isn't necessarily better code.
# pedantic: disabled
Expand Down

0 comments on commit b0571aa

Please sign in to comment.