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

refactor: enable and fix some lint rules #452

Merged
merged 38 commits into from
Jun 25, 2024
Merged

Conversation

josxha
Copy link
Collaborator

@josxha josxha commented Jun 6, 2024

I enabled a bunch of simple lint rules. All those lints in one pull request because it would have been a lot of really small pull requests otherwise. But I created for every lint one commit in case thats better to review.

This pull request introduces the following breaking changes:

  • Remove the parameter hash from MapOptions because it was not used.
  • The parameter type of annotationOrder and annotationConsumeTapEvents from
    MapLibreMap has changed to a Set.

@josxha josxha added this to the v0.20.0 milestone Jun 6, 2024
@josxha josxha requested a review from kuhnroyal June 6, 2024 23:43
@josxha josxha self-assigned this Jun 6, 2024
@josxha josxha modified the milestones: v0.20.0, v0.20.1, v0.21.0 Jun 7, 2024
@josxha josxha changed the title refactor!: enable and fix lints, remove MapOptions.hash, change annotationOrder and annotationConsumeTapEvents to a Set refactor: enable and fix some lint rules Jun 24, 2024
@josxha josxha modified the milestones: v0.21.0, v0.20.1 Jun 24, 2024
@josxha
Copy link
Collaborator Author

josxha commented Jun 24, 2024

@kuhnroyal I reverted the breaking changes to make this pr code style only. Let me know if you disagree with any or the enabled lint rules. I'd appreciate a code review. (: Or would you prefer to have every rule split in separate pull requests?

@josxha josxha merged commit a47b279 into maplibre:main Jun 25, 2024
9 checks passed
@josxha josxha deleted the refactor/lints branch June 25, 2024 10:06
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.

None yet

2 participants