Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@tarrinneal
Copy link
Contributor

Added the use_named_constants line to analysis options and fixed all new violation errors.

List which issues are fixed by this PR. You must list at least one issue.
Some fixes for #96229

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@stuartmorgan-g
Copy link
Contributor

Overriding the version change flag for video_player; the change is only to example/lib/main.dart and is so trivial it's not important for it to be updated on pub.dev.

@stuartmorgan-g stuartmorgan-g added the override: no versioning needed Override the check requiring version bumps for most changes label Aug 17, 2022
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM once it's merged to fix analyze

@tarrinneal tarrinneal merged commit b77f6fc into flutter:main Aug 17, 2022
@tarrinneal tarrinneal deleted the add-use_named_constants-to-analysis-options-and-fix-errors branch August 17, 2022 21:47

## 2.1.11

* Fixes violations of new analysis option use_named_constants.
Copy link
Contributor

Choose a reason for hiding this comment

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

This got merged incorrectly; you added this to the release notes of an already-released version, and didn't add a new version update to release the changed production code. (Normally CI would have caught this, but the override we added for video_player masked it).

Could you do a follow-up to move this line to a new 2.1.12?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll send that up shortly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

new PR here #6289

moisefeelin pushed a commit to feelinproject/plugins that referenced this pull request Aug 26, 2022
)

* update to remove errors related to analysis option

* update to remove errors related to analysis option

* remove errors related to analysis option

* remove errors related to analysis option

* remove errors related to analysis option

* remove errors related to analysis option

* add use_named_constants

* Fix violations of analysis opt use_named_constants

* revert metada changes

* Updated changelogs to correct version nums

* undo automated changes

* Reconsile changes by bots that cause failing tests
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
)

* update to remove errors related to analysis option

* update to remove errors related to analysis option

* remove errors related to analysis option

* remove errors related to analysis option

* remove errors related to analysis option

* remove errors related to analysis option

* add use_named_constants

* Fix violations of analysis opt use_named_constants

* revert metada changes

* Updated changelogs to correct version nums

* undo automated changes

* Reconsile changes by bots that cause failing tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants