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

Nit: change eslint file type #204

Merged
merged 1 commit into from Jan 1, 2023
Merged

Nit: change eslint file type #204

merged 1 commit into from Jan 1, 2023

Conversation

gurgunday
Copy link
Contributor

.eslintrc.cjs was causing the following eslint error:

Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. The extension for the file (.cjs) is non-standard. You should add "parserOptions.extraFileExtensions" to your config.

Since Eta doesn't use CJS internally, instead of doing that, I simply changed the config type to .json, which I prefer for configs like this one.

@nebrelbug
Copy link
Collaborator

@gurgunday this looks good -- I'll merge now.

@nebrelbug nebrelbug merged commit 8c82f3c into eta-dev:master Jan 1, 2023
@gurgunday gurgunday deleted the eslint-type-fix branch January 6, 2023 16:10
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