Skip to content

Remove linter rules removed in Dart 3.3.0#229

Merged
khoren93 merged 1 commit into
khoren93:mainfrom
FrankenApps:remove-lint-rules
Apr 20, 2026
Merged

Remove linter rules removed in Dart 3.3.0#229
khoren93 merged 1 commit into
khoren93:mainfrom
FrankenApps:remove-lint-rules

Conversation

@FrankenApps

Copy link
Copy Markdown
Contributor

On my machine using Dart 3.11, I get the following analyzer warning about removed rules:

user@machine flutter_zxing > dart analyze
Analyzing flutter_zxing...             4.2s

warning • analysis_options.yaml:40:7 • 'always_require_non_null_named_parameters' was removed in Dart '3.3.0' Try removing the reference to
          'always_require_non_null_named_parameters'. • removed_lint
warning • analysis_options.yaml:70:7 • 'avoid_returning_null_for_future' was removed in Dart '3.3.0' Try removing the reference to
          'avoid_returning_null_for_future'. • removed_lint
warning • analysis_options.yaml:148:7 • 'prefer_equal_for_default_values' was removed in Dart '3.0.0' Try removing the reference to
          'prefer_equal_for_default_values'. • removed_lint

I removed these rules and now dart analyze completes without any warnings.

@khoren93 khoren93 merged commit 1981f82 into khoren93:main Apr 20, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants