System76 eslint configuration
npm install --save-dev @system76/eslint-config
Then extend this in your own eslint configuration file:
Then add these lines to your
And finally, you can lint with
npm run lint:js.
There's not much to it. Aside from the few test files we check, the only file
you need to concern yourself with is the
eslintrc.json file. If the tests and
linting pass, you are good for a PR!
Past that, just push to master and travis will take care of the rest.