-
-
Save KKimj/0785694a8d96ee635ff1353221f18163 to your computer and use it in GitHub Desktop.
KKimj lints v0.0.1-dev.2 Reference from RydMike lints
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
# v0.0.1-dev.2 | |
# REF: RydMike https://gist.github.com/rydmike/fdb53ddd933c37d20e6f3188a936cd4c | |
include: all_lint_rules.yaml | |
analyzer: | |
exclude: | |
- "**/*.freezed.dart" | |
- "**/*.g.dart" | |
- "bin/cache/**" | |
- "lib/generated_plugin_registrant.dart" | |
- "test/.test_coverage.dart" | |
# REF: https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks | |
language: | |
strict-casts: true | |
strict-inference: true | |
strict-raw-types: true | |
errors: | |
deprecated_member_use_from_same_package: ignore | |
included_file_warning: ignore | |
missing_required_param: error | |
missing_return: error | |
parameter_assignments: warning | |
todo: ignore | |
linter: | |
rules: | |
always_put_control_body_on_new_line: false | |
always_put_required_named_parameters_first: false | |
always_use_package_imports: false | |
avoid_annotating_with_dynamic: false | |
avoid_types_on_closure_parameters: false | |
cascade_invocations: false | |
comment_references: false | |
library_private_types_in_public_api: false | |
omit_local_variable_types: false | |
prefer_double_quotes: false | |
prefer_expression_function_bodies: false | |
prefer_final_parameters: false | |
public_member_api_docs: false | |
unnecessary_final: false |
Author
KKimj
commented
Feb 20, 2024
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment