Skip to content

Instantly share code, notes, and snippets.

@KKimj
Forked from rydmike/analysis_options.yaml
Last active February 28, 2024 07:19
Show Gist options
  • Save KKimj/0785694a8d96ee635ff1353221f18163 to your computer and use it in GitHub Desktop.
Save KKimj/0785694a8d96ee635ff1353221f18163 to your computer and use it in GitHub Desktop.
KKimj lints v0.0.1-dev.2 Reference from RydMike lints
# 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
@KKimj
Copy link
Author

KKimj commented Feb 20, 2024

# REF: https://github.com/flutter/flutter/blob/stable/packages/flutter_tools/templates/app_shared/.gitignore.tmpl

# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
packages/*/build/

# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock
pubspec_overrides.yaml

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

# Dart Build Runner Generated files
**/*.freezed.dart
**/*.g.dart

# Flutter Generated files
**/generated_plugin*
**/GeneratedPlugin*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment