this PR allows you to do style linting on the codebase with the command npm run lint.
it configures eslint to check for two code issues:
missing semicolons at the end of a line
duplicate semicolons at the end of a line
eslint can fix some types of issues for you. to ask eslint to fix everything it can, use npm run lint:fix.
eslint found more than 400 instances of missing semicolons, all of which can be fixed using npm run lint:fix. i have created a separate PR that actually adds in those omitted semicolons: #103
on a final note, there are recommended rules for eslint. i did NOT configure eslint to use the recommended ruleset. let me know if the recommended rules are something you're interested in and i can coordinate with you on this thread to clarify/configure/autofix.
this PR allows you to do style linting on the codebase with the command
npm run lint
.it configures eslint to check for two code issues:
eslint can fix some types of issues for you. to ask eslint to fix everything it can, use
npm run lint:fix
.eslint found more than 400 instances of missing semicolons, all of which can be fixed using
npm run lint:fix
. i have created a separate PR that actually adds in those omitted semicolons: #103on a final note, there are recommended rules for eslint. i did NOT configure eslint to use the recommended ruleset. let me know if the recommended rules are something you're interested in and i can coordinate with you on this thread to clarify/configure/autofix.