Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade lints package, make lints more strict, and fix new lint errors #174

Merged
merged 7 commits into from
Oct 10, 2022

Conversation

mkorbel1
Copy link
Contributor

@mkorbel1 mkorbel1 commented Oct 5, 2022

Description & Motivation

The "lints" package was on an old version, so this PR upgrades it.
The lints were too lenient (many rules disabled), so this PR enables many more.
The new lint checks flagged many issues

Related Issue(s)

Fix #165

A lint check caught #170, so to fix the lint issue the issue was fixed, but no new tests are opened so the issue is left open until it is properly tested.

Testing

Existing tests cover functionality.
Reran dart doc . to ensure that documentation fixes are clean.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No, though some new warnings may appear.

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

Yes, lint issues related to documentation were fixed.

pubspec.yaml Show resolved Hide resolved
pubspec.yaml Outdated Show resolved Hide resolved
pubspec.yaml Outdated Show resolved Hide resolved
analysis_options.yaml Outdated Show resolved Hide resolved
analysis_options.yaml Outdated Show resolved Hide resolved
analysis_options.yaml Outdated Show resolved Hide resolved
@mkorbel1 mkorbel1 requested a review from chykon October 6, 2022 16:12
Copy link
Contributor

@chykon chykon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mkorbel1
Copy link
Contributor Author

mkorbel1 commented Oct 6, 2022

Thank you @chykon for the suggestions and feedback here!

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.

Outdated package "lints"
2 participants