rodrigo-brito / gocity

:bar_chart: Code City metaphor for visualizing Go source code in 3D
https://go-city.github.io
MIT License
1.8k stars 139 forks source link

Add github actions for frontend branch and update eslint rules #61

Closed Wicked7000 closed 3 years ago

Wicked7000 commented 4 years ago

This addresses the following issue #60

In order to be able to run a lint command I had to extract out the eslint configuration and override it using environment variables as this seems to be the best you can do with react-scripts. As they themselves don't expose any type of on-demand linting command. This seems to work well though.

A lot of the changes to files aren't anything special and are just fixing various eslint issues that are flagged.

I've tested locally and made sure any changes that I made don't have any style impact on the webpage.

I've set the test command to allow no tests for now (as there currently aren't any)

Let me know if you have any questions or concerns!