-
-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ Edit ] refactored completion models classes and invoked toString an…
…d equality for sub-models
- Loading branch information
Showing
8 changed files
with
235 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,63 @@ | ||
# This file configures the static analysis results for your project (errors, | ||
# warnings, and lints). | ||
# | ||
# This enables the 'recommended' set of lints from `package:lints`. | ||
# This set helps identify many issues that may lead to problems when running | ||
# or consuming Dart code, and enforces writing Dart using a single, idiomatic | ||
# style and format. | ||
# | ||
# If you want a smaller set of lints you can change this to specify | ||
# 'package:lints/core.yaml'. These are just the most critical lints | ||
# (the recommended set includes the core lints). | ||
# The core lints are also what is used by pub.dev for scoring packages. | ||
|
||
include: package:lints/recommended.yaml | ||
linter: | ||
rules: | ||
|
||
# Uncomment the following section to specify additional rules. | ||
analyzer: | ||
plugins: | ||
- dart_code_metrics | ||
|
||
# linter: | ||
# rules: | ||
# - camel_case_types | ||
dart_code_metrics: | ||
extends: | ||
- ... # configures the list of preset configurations | ||
metrics: | ||
cyclomatic-complexity: 20 | ||
lines-of-code: 100 | ||
maximum-nesting-level: 4 | ||
number-of-parameters: 4 | ||
|
||
# analyzer: | ||
# exclude: | ||
# - path/to/excluded/files/** | ||
rules: | ||
- avoid-dynamic | ||
- avoid-redundant-async | ||
- avoid-passing-async-when-sync-expected | ||
- avoid-redundant-async | ||
- avoid-unnecessary-type-assertions | ||
- avoid-unnecessary-type-casts | ||
- avoid-unrelated-type-assertions | ||
- avoid-unused-parameters | ||
- avoid-nested-conditional-expressions | ||
- newline-before-return | ||
- no-boolean-literal-compare | ||
- no-empty-block | ||
- prefer-trailing-comma | ||
- prefer-conditional-expressions | ||
- no-equal-then-else | ||
- prefer-moving-to-variable | ||
- avoid-duplicate-exports | ||
- avoid-dynamic | ||
- avoid-late-keyword | ||
- avoid-nested-conditional-expressions | ||
- avoid-unnecessary-type-assertions | ||
- avoid-unnecessary-type-casts | ||
- member-ordering | ||
- no-magic-number | ||
- prefer-trailing-comma | ||
- always-remove-listener | ||
- avoid-border-all | ||
- avoid-expanded-as-spacer | ||
- avoid-wrapping-in-padding | ||
- prefer-const-border-radius | ||
- prefer-correct-edge-insets-constructor | ||
- prefer-single-widget-per-file | ||
|
||
# For more information about the core and recommended set of lints, see | ||
# https://dart.dev/go/core-lints | ||
# - arguments-ordering: | ||
# child-last: true | ||
# - prefer-match-file-name rules-exclude: | ||
# - ... # configures the list of files that should be ignored by rules | ||
# anti-patterns: | ||
# - ... # configures the list of anti-patterns | ||
|
||
# For additional information about configuring this file, see | ||
# https://dart.dev/guides/language/analysis-options | ||
exclude: | ||
- "example/**" | ||
- "build/**" | ||
- "**/*.g.dart" | ||
- "**/*.freezed.dart" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.