InetIntel / ioda-ui

Other
3 stars 0 forks source link

Add ESLint configs for IDE compatibility #82

Closed arvinpoddar closed 1 year ago

arvinpoddar commented 1 year ago

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.