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

Update all lints and dart_flutter_team_lints dependencies #161

Merged

Conversation

parlough
Copy link
Member

  • Updates dependency constraints on package:dart_flutter_team_lints and package:lints.
  • Removes now duplicated/unnecessary entries from the analysis_options.yaml files
  • Applies the few fixes for new lints

@coveralls
Copy link

Coverage Status

coverage: 98.172% (-0.005%) from 98.177% when pulling 5f8171d on parlough:feature/updated-linter-dependencies into 757f503 on dart-lang:main.

Copy link
Collaborator

@dcharkes dcharkes left a comment

Choose a reason for hiding this comment

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

lgtm! Thanks @parlough!

@dcharkes dcharkes merged commit ce26f75 into dart-lang:main Oct 25, 2023
18 checks passed
@parlough parlough deleted the feature/updated-linter-dependencies branch October 25, 2023 21:10
@@ -33,8 +33,8 @@ class BuildOutput {
Metadata? metadata,
}) : timestamp = (timestamp ?? DateTime.now()).roundDownToSeconds(),
assets = assets ?? [],
dependencies = dependencies ?? Dependencies([]),
metadata = metadata ?? Metadata({});
dependencies = dependencies ?? const Dependencies([]),
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems that this leads to unmodifiable lists trying to get modified:

https://github.com/dart-lang/native/actions/runs/6665614043/job/18115686857?pr=167

@dcharkes
Copy link
Collaborator

@parlough it seems we're running into unmodifiable list errors being thrown in various places because the default values for arguments are now not modifiable. Could you please submit a PR to make the defaults modifiable again (and test it with unit tests).

I'm not sure why this was not caught by the CI earlier. 🙈

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

Successfully merging this pull request may close these issues.

3 participants