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

Add lint to CI and fix errors #853

Merged
merged 7 commits into from
Dec 26, 2023
Merged

Add lint to CI and fix errors #853

merged 7 commits into from
Dec 26, 2023

Conversation

HarelM
Copy link
Collaborator

@HarelM HarelM commented Dec 26, 2023

Adds lint to CI and fixes errors.
I'm not sure I'm fully proud of all the solutions there.
But there's no lint issues and the lint is being checked as part of the CI.

Copy link

codesandbox-ci bot commented Dec 26, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 72bb15e:

Sandbox Source
maputnik Configuration

@codecov-commenter
Copy link

codecov-commenter commented Dec 26, 2023

Codecov Report

Attention: 54 lines in your changes are missing coverage. Please review.

Comparison is base (a324ddb) 56.71% compared to head (72bb15e) 56.81%.

Files Patch % Lines
src/libs/apistore.ts 0.00% 12 Missing ⚠️
src/components/ModalSources.tsx 58.33% 5 Missing ⚠️
src/components/App.tsx 73.33% 4 Missing ⚠️
src/components/MapMaplibreGlLayerPopup.tsx 20.00% 4 Missing ⚠️
src/components/ModalOpen.tsx 80.00% 3 Missing ⚠️
src/components/_ExpressionProperty.tsx 0.00% 3 Missing ⚠️
src/libs/metadata.ts 70.00% 3 Missing ⚠️
src/libs/urlopen.ts 57.14% 3 Missing ⚠️
src/util/codemirror-mgl.ts 0.00% 3 Missing ⚠️
src/components/IconLayer.tsx 33.33% 2 Missing ⚠️
... and 8 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #853      +/-   ##
==========================================
+ Coverage   56.71%   56.81%   +0.09%     
==========================================
  Files         104      104              
  Lines        2932     2929       -3     
  Branches      674      674              
==========================================
+ Hits         1663     1664       +1     
+ Misses       1269     1265       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@nyurik nyurik left a comment

Choose a reason for hiding this comment

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

all looks fine to me, although ideally it should be reviewed by the actual active contributors - e.g. @ShellyDCMS

.eslintrc Outdated Show resolved Hide resolved
HarelM and others added 2 commits December 26, 2023 23:00
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
@HarelM HarelM merged commit a22476c into maplibre:main Dec 26, 2023
8 checks passed
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.

3 participants