Skip to content

Commit

Permalink
chore: upgrade to the new hotness
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Dec 24, 2024
1 parent ab13a6c commit 51a079b
Show file tree
Hide file tree
Showing 15 changed files with 404 additions and 393 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ jobs:
flutter-version-file: pubspec.yaml
cache: true
- name: ☕ Setup Java
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
if: ${{ matrix.target == 'appbundle' }}
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "adopt"
java-version: "17"
distribution: "jetbrains"
java-version: "23"
- name: 🌐 Disable analytics
run: flutter --disable-analytics
- name: ⚙️ Cache generated files
Expand Down Expand Up @@ -195,9 +196,6 @@ jobs:
run-bootstrap: true
- name: 🕵️ Analyze project source
run: melos analyze --fatal-infos
- name: Clean Flutter generated files
# Works around invertase/dart_custom_lint#271
run: melos run clean
- name: 🕵️ Run Custom Lint Rules
run: melos run custom_lint

Expand Down
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ command:
enforceLockfile: true

environment:
sdk: "^3.5.0"
sdk: "^3.6.0"

hooks:
post: melos run gen-l10n && melos run gen
Expand Down
10 changes: 4 additions & 6 deletions packages/analysis_options/lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ linter:
always_use_package_imports: false
lines_longer_than_80_chars: false
one_member_abstracts: false
omit_obvious_local_variable_types: true
omit_local_variable_types: false

# Extra rules, not in VGA
avoid_classes_with_only_static_members: true
Expand All @@ -48,7 +50,6 @@ linter:
no_literal_bool_comparisons: true
prefer_foreach: true
prefer_mixin: true
type_literal_in_constant_pattern: true
unnecessary_null_aware_operator_on_extension_on_nullable: true
unreachable_from_main: true

Expand All @@ -60,11 +61,8 @@ linter:
annotate_redeclares: true

# New/updated rules, not yet in VGA
unintended_html_in_doc_comment: true
invalid_runtime_check_with_js_interop_types: true
unnecessary_library_name: true
document_ignores: true
avoid_catches_without_on_clauses: true
use_truncating_division: true
avoid_futureor_void: true

Check warning on line 65 in packages/analysis_options/lib/analysis_options.yaml

View workflow job for this annotation

GitHub Actions / Check Spelling

Unknown word (futureor)

# Newly (or soon-to-be) deprecated rules, still in VGA
unnecessary_await_in_return: false
Expand Down
Loading

0 comments on commit 51a079b

Please sign in to comment.