-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from WilliamKarolDiCioccio/maintenance/docs-an…
…d-testing Maintenance/docs and testing
- Loading branch information
Showing
54 changed files
with
766 additions
and
534 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 |
---|---|---|
|
@@ -58,6 +58,7 @@ app.*.map.json | |
.pub/ | ||
/build/ | ||
untranslated_messages.json | ||
lcov.info | ||
|
||
# Pyinstaller related | ||
dist/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,46 @@ | ||
# This file configures the analyzer, which statically analyzes Dart code to | ||
# check for errors, warnings, and lints. | ||
# | ||
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled | ||
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be | ||
# invoked from the command line by running `flutter analyze`. | ||
|
||
# The following line activates a set of recommended lints for Flutter apps, | ||
# packages, and plugins designed to encourage good coding practices. | ||
include: package:flutter_lints/flutter.yaml | ||
|
||
linter: | ||
# The lint rules applied to this project can be customized in the | ||
# section below to disable rules from the `package:flutter_lints/flutter.yaml` | ||
# included above or to enable additional rules. A list of all available lints | ||
# and their documentation is published at https://dart.dev/lints. | ||
# | ||
# Instead of disabling a lint rule for the entire project in the | ||
# section below, it can also be suppressed for a single line of code | ||
# or a specific dart file by using the `// ignore: name_of_lint` and | ||
# `// ignore_for_file: name_of_lint` syntax on the line or in the file | ||
# producing the lint. | ||
rules: | ||
# avoid_print: false # Uncomment to disable the `avoid_print` rule | ||
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule | ||
# Require explicit return types for functions and methods | ||
always_declare_return_types: true | ||
|
||
# Additional information about this file can be found at | ||
# https://dart.dev/guides/language/analysis-options | ||
# Ensure that Futures are awaited | ||
await_only_futures: true | ||
|
||
# Disallow unnecessary `await` on non-Futures | ||
unawaited_futures: true | ||
|
||
# Allow omitting type annotations when they are clear (e.g., final list = <Foo>[]) | ||
always_specify_types: false | ||
|
||
# Other recommended lints for readability and good practices | ||
prefer_final_locals: true | ||
prefer_const_constructors: true | ||
prefer_const_declarations: true | ||
unnecessary_new: true | ||
unnecessary_this: true | ||
avoid_print: true | ||
require_trailing_commas: true | ||
|
||
analyzer: | ||
strong-mode: | ||
implicit-casts: true | ||
implicit-dynamic: true | ||
|
||
language: | ||
strict-inference: false | ||
strict-raw-types: false | ||
|
||
errors: | ||
# Keep them as warnings, not errors | ||
missing_return: warning | ||
unchecked_use_of_nullable_value: warning | ||
ambiguous_import: warning | ||
|
||
exclude: | ||
- "**/*.g.dart" | ||
- "**/*.freezed.dart" | ||
- "**/*.gen.dart" | ||
- "**/*.mocks.dart" | ||
- "**/*.config.dart" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.