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

Specify type assertion for JSON import #194

Merged
merged 4 commits into from May 7, 2022

Conversation

oogali
Copy link
Contributor

@oogali oogali commented May 4, 2022

No description provided.

@shafy
Copy link
Contributor

shafy commented May 6, 2022

FYI, this is also addressed as part of PR #191 (which also includes updated linting to account for the type assertion statement).

@oogali
Copy link
Contributor Author

oogali commented May 6, 2022

I think it makes sense to keep this separate -- we can get this fix in without requiring us to take an immediate position on Gitpod yet.

@shafy
Copy link
Contributor

shafy commented May 6, 2022

Good point. In this case, I suggest also adding the @babel/eslint-parser as part of this PR, since the current parser lints assert as an error. You can see the relevant changes in the files here. What do you think?

@oogali
Copy link
Contributor Author

oogali commented May 7, 2022

@shafy In my branch, I did not add that module so I'm curious why I don't receive any errors regarding assert...

image

@oogali
Copy link
Contributor Author

oogali commented May 7, 2022

@shafy Never mind, I see that it's not being tested... I'll add it to the lint inputs and incorporate your module changes too.

@shafy
Copy link
Contributor

shafy commented May 7, 2022

Looks great to me!

@pablo-mayrgundter pablo-mayrgundter merged commit 767a640 into bldrs-ai:main May 7, 2022
OlegMoshkovich pushed a commit to OlegMoshkovich/Share that referenced this pull request May 19, 2022
* Specify type assertion for JSON import

* bldrs/Share#194: Ensure all project JS files are checked by linter

* bldrs/Share#194: Add ESLint plugin (and configuration) for import assertions

* bldrs/Share#194: Fix lint errors in version generation logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

None yet

3 participants