Skip to content

Commit 868ad33

Browse files
committed
Disabling formatting errors for now until the minimum supported version is Flutter 3.29.
1 parent 144a45e commit 868ad33

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/checks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
- name: Check format
4242
working-directory: ${{ matrix.package }}
4343
run: dart format . --set-exit-if-changed
44+
# Ignoring formatting issues for now, as we're still supporting versions of Flutter below
45+
# 3.29.
46+
# Once the minimum supported version is 3.29 or later, we can enforce this on more recent
47+
# versions.
48+
continue-on-error: true
4449
- run: flutter analyze
4550
working-directory: ${{ matrix.package }}
4651

wakelock_plus/example/analysis_options.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ include: package:flutter_lints/flutter.yaml
1111

1212
analyzer:
1313
exclude:
14-
# Generated files shouldn't really be analyzed. Remove if it becomes a problem.
15-
- "**/*.g.dart"
16-
- ".git/**" # Exclude private git directory
17-
- "build/**" # Exclude generated files in the build directory
18-
- ".dart_tool/**" # Exclude Dart tool-generated files
14+
- '**.freezed.dart'
15+
- '**.g.dart'
16+
- '**.gr.dart'
17+
- '**/generated_plugin_registrant.dart'
1918

2019
linter:
2120
# The lint rules applied to this project can be customized in the

0 commit comments

Comments
 (0)