When I tried to follow the contributing guidelines on linting, they didn't work, specifically, the linting depends on eslintrc and various plugins, which are not declared as dev dependencies and the lint:fix command did not exist.
This PR:
adds various dependencies so that npm run lint works
adds the lint:fix command to package.json so that npm run lint:fix works
fixes various lines in the existing code which failed the linting rules.
When I tried to follow the contributing guidelines on linting, they didn't work, specifically, the linting depends on eslintrc and various plugins, which are not declared as dev dependencies and the
lint:fix
command did not exist.This PR:
npm run lint
workslint:fix
command topackage.json
so thatnpm run lint:fix
works