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 to modern Dart style and lints #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

eseidel
Copy link

@eseidel eseidel commented Nov 14, 2022

Added package:lints/recommended and fixed all the lint warnings.

API BREAK: EventSourceReadyState values are now camelCase instead of SCREAMING_CAPS.

This was almost entirely automated. I just pulled down the package, added the lints dependency and let the quickfixes in visual studio code do their thing.

I ran dart test all tests passed.

dart-lang/http#1 is now resolved, presumably removing the need for a separate BrowserClient, but I did not attempt to change that part of the API.

Added package:lints/recommended and fixed all the lint warnings.

API BREAK: EventSourceReadyState values are now camelCase instead of SCREAMING_CAPS.
Also removed the pubspec.lock from checkin.
@eseidel
Copy link
Author

eseidel commented Nov 14, 2022

The author line from the pubspec.yaml was only removed because pub yelled at me about it. It's no longer used I guess. 🤷

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.

1 participant