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

Effective Dart #28

Closed
minikin opened this issue Oct 4, 2019 · 10 comments
Closed

Effective Dart #28

minikin opened this issue Oct 4, 2019 · 10 comments
Labels
good first issue Good for newcomers help wanted Looking for contributors (ideas, comments, code, etc)

Comments

@minikin
Copy link

minikin commented Oct 4, 2019

Why don't use an Effective Dart for this project?
Like here for constant names definitions you break it.

Thanks!

@Buggaboo
Copy link
Contributor

Buggaboo commented Oct 5, 2019

Those are like that due to readability, and how easily they relate to the C-based names at first glance. I personally have always hated camel case. It's refreshing to see snake case. Style is also about maintainability. If the maintainers experience zero problems...

And now to the real issue, emacs or vim?

@vaind
Copy link
Collaborator

vaind commented Oct 9, 2019

This should probably be supported by setting up a linter & maybe even including in GitHub actions CI so we notice new offending code.

https://dart.dev/guides/language/analysis-options#enabling-linter-rules

@vaind vaind added good first issue Good for newcomers help wanted Looking for contributors (ideas, comments, code, etc) labels Oct 9, 2019
@GregorySech
Copy link
Contributor

If you need a pre-made linter configuration for Effective Dart a lot of people uses https://pub.dev/packages/pedantic .
There are a handful that are not set by the package but are listed in the README

@vaind
Copy link
Collaborator

vaind commented Oct 9, 2019

@GregorySech would you like to contribute a PR configuring it?

@GregorySech
Copy link
Contributor

GregorySech commented Oct 9, 2019

Ok, but I'm not sure how to setup the CI part. If there is one, can I ask you?

@vaind
Copy link
Collaborator

vaind commented Oct 9, 2019

Sure, we've just started using the new GitHub Actions:
https://github.com/objectbox/objectbox-dart/blob/dev/.github/workflows/dart.yml

@vaind
Copy link
Collaborator

vaind commented Oct 21, 2019

Any chance we could get the linter to work with Actions? A major PR was merged today and it shows a couple of linter issues so it would be great if we could prevent it

@GregorySech
Copy link
Contributor

GregorySech commented Oct 21, 2019 via email

@GregorySech
Copy link
Contributor

I'll also split the two packages in my next PR or the action will always fail. Working on it on the train.

@vaind
Copy link
Collaborator

vaind commented Nov 18, 2019

I'd say this has been implemented by now so closing, feel free to open an issue/PR with specific areas of improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Looking for contributors (ideas, comments, code, etc)
Projects
None yet
Development

No branches or pull requests

4 participants