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 ESLint configs for IDE compatibility #82

Merged
merged 2 commits into from
Jan 29, 2023
Merged

Add ESLint configs for IDE compatibility #82

merged 2 commits into from
Jan 29, 2023

Conversation

arvinpoddar
Copy link
Collaborator

Changes

In its current state, IODA UI has some IDE linter issues. These issues do not impact the build process, but they impair developer productivity. See screenshot below for an example:

Linting Error

This change adds ESLint configs via a new .eslintrc.json file. To enable the required babel presets, a few babel packages were installed. I also updated the node-sass version.

Testing

All changes were pushed first to a fix/linter branch. These changes were then pulled in on levanzo and built. The public dev site was reloaded successfully with the new build script present, indicating that the changes were successfully deployed.

Notes

To ensure the success of this change, delete node_modules, package-lock.json, and yarn.lock. Then, run yarn install to get the updated dependencies.

Longer term, we do need to start running upgraded versions of
our dependencies -- mainly for security reasons, but also just
for maintainability as older packages may become unavailable.
@salcock salcock merged commit 2d4544e into main Jan 29, 2023
@salcock salcock deleted the fix/linter branch January 29, 2023 22:12
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.

2 participants