Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/prepare for v1.3.0 #2

Merged
merged 18 commits into from
Sep 22, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
bd238ae
:rotating_light: (analyser) remove some errors
T-moz Sep 22, 2024
ddc21b2
:rotating_light: (dcm) remove newline-before-case
T-moz Sep 22, 2024
bedce52
:rotating_light: (dcm) remove map-keys-ordering
T-moz Sep 22, 2024
aad4ac8
:rotating_light: (dcm) remove avoid-async-call-in-sync-function
T-moz Sep 22, 2024
c430a85
:rotating_light: (dcm) remove prefer-prefixed-global-constants
T-moz Sep 22, 2024
fa2a815
:rotating_light: (dcm) remove avoid-missing-interpolation
T-moz Sep 22, 2024
bbee220
:rotating_light: (dcm) remove prefer-first
T-moz Sep 22, 2024
c9b6276
:rotating_light: (dcm) remove move-variable-closer-to-its-usage
T-moz Sep 22, 2024
01092d2
:rotating_light: (dcm) remove match-getter-setter-field-names
T-moz Sep 22, 2024
211ac05
:rotating_light: (dcm) remove avoid-late-context
T-moz Sep 22, 2024
4aead4d
:rotating_light: (dcm) remove prefer-correct-type-name
T-moz Sep 22, 2024
d292b25
:rotating_light: (dcm) remove prefer-addition-subtraction-assignments
T-moz Sep 22, 2024
c6146eb
:rotating_light: (dcm) remove prefer-define-hero-tag
T-moz Sep 22, 2024
c901571
:rotating_light: (dcm) remove avoid-redundant-positional-field-name
T-moz Sep 22, 2024
2a9003e
:rotating_light: (dcm) remove move-records-to-typedefs
T-moz Sep 22, 2024
b439072
:rotating_light: (dcm) remove avoid-substring
T-moz Sep 22, 2024
eabdab9
:rotating_light: (dcm) remove prefer-correct-error-name
T-moz Sep 22, 2024
2741e44
:rotating_light: (dcm) change prefer-widget-private-members configura…
T-moz Sep 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 10 additions & 17 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ analyzer:
language:
strict-casts: true
strict-inference: true
errors:
# Doesn't work with freezed and JsonKey
invalid_annotation_target: ignore
# Not that very usefull
inference_failure_on_function_invocation: ignore
# Not that very usefull
inference_failure_on_collection_literal: ignore
# Not that very usefull
inference_failure_on_instance_creation: ignore

exclude:
- 'build/**'
Expand Down Expand Up @@ -241,7 +250,6 @@ dart_code_metrics:

rules:
- avoid-unassigned-late-fields
- avoid-substring
- avoid-cascade-after-if-null
- avoid-collection-methods-with-unrelated-types
- avoid-duplicate-exports
Expand All @@ -268,9 +276,7 @@ dart_code_metrics:
- prefer-commenting-analyzer-ignores
- prefer-conditional-expressions
- prefer-correct-test-file-name
- prefer-correct-type-name
- prefer-enums-by-name
- prefer-first
- prefer-immediate-return
- prefer-iterable-of
- prefer-last
Expand Down Expand Up @@ -300,14 +306,12 @@ dart_code_metrics:
- avoid-throw-objects-without-tostring
- avoid-unsafe-collection-methods
- avoid-one-field-records
- move-records-to-typedefs
- avoid-bottom-type-in-records
- avoid-nested-records
- avoid-function-type-in-records
- avoid-mixing-named-and-positional-fields
- avoid-long-records
- match-positional-field-names-on-assignment
- avoid-redundant-positional-field-name
- avoid-bottom-type-in-patterns
- avoid-explicit-pattern-field-name
- prefer-wildcard-pattern
Expand All @@ -328,8 +332,6 @@ dart_code_metrics:
- avoid-mutating-parameters
- avoid-unnecessary-call
- no-equal-nested-conditions
- prefer-correct-error-name
- map-keys-ordering
- avoid-unnecessary-futures
- avoid-shadowed-extension-methods
- avoid-barrel-files
Expand All @@ -338,26 +340,21 @@ dart_code_metrics:
- missing-test-assertion
- avoid-map-keys-contains
- prefer-correct-json-casts
- avoid-async-call-in-sync-function
- avoid-duplicate-mixins
- avoid-nullable-interpolation
- avoid-unused-instances
- prefer-correct-for-loop-increment
- prefer-public-exception-classes
- newline-before-case
- avoid-unnecessary-reassignment
- avoid-referencing-discarded-variables
- avoid-unconditional-break
- avoid-weak-cryptographic-algorithms
- avoid-identical-exception-handling-blocks
- avoid-recursive-calls
- move-variable-closer-to-its-usage
- avoid-missing-interpolation
- avoid-unnecessary-if
- avoid-passing-default-values
- avoid-unnecessary-late
- avoid-wildcard-cases-with-enums
- match-getter-setter-field-names
- avoid-unnecessary-getter
- avoid-long-files
- avoid-accessing-collections-by-constant-index
Expand All @@ -370,10 +367,7 @@ dart_code_metrics:
- prefer-explicit-type-arguments
- avoid-unnecessary-super
- prefer-correct-setter-parameter-name
- prefer-prefixed-global-constants
- prefer-explicit-function-type
- prefer-addition-subtraction-assignments
- prefer-define-hero-tag
- always-remove-listener
- avoid-border-all
- avoid-returning-widgets
Expand All @@ -392,7 +386,6 @@ dart_code_metrics:
- dispose-fields
- avoid-empty-setstate
- avoid-inherited-widget-in-initstate
- avoid-late-context
- avoid-state-constructors
- avoid-unnecessary-stateful-widgets
- avoid-stateless-widget-initialized-fields
Expand Down Expand Up @@ -433,7 +426,7 @@ dart_code_metrics:
- dispose-method
- build-method
- prefer-widget-private-members:
ignore-static: false
ignore-static: true
ignored-names:
- of
- avoid-shadowing:
Expand Down
Loading