Outreachy Internship Application Process: Part 4 Git/Gerrit and Formatting

The next challenge is to upload my patch to Gerrit. I followed the guide here. It took a while the set the working directory up and add in my new code/modify the existing code, but I did it and pushed it to code review.

Once in review it looked like there were some issues with style/formatting. I found this guide Manual:Coding Conventions/Javascript which was helpful and explained to me how eslint works. It was tricky to get it to work locally. I ended up installing eslint globally with sudo npm install -g eslint then checking my js files with the command eslint file.js or eslint --fix file.js.