ibuildingsnl / qa-tools

A set of quality assurance tools that are easily configurable through an installer
https://ibuildingsnl.github.io/qa-tools
MIT License
12 stars 7 forks source link

Add ESLint as javascript tool #95

Open rjkip opened 7 years ago

rjkip commented 7 years ago

As originally submitted by @DRvanR:

http://eslint.org/

Depends on https://github.com/ibuildingsnl/qa-tools/issues/93

rjkip commented 7 years ago

Scato suggests using the Airbnb eslint preset in https://github.com/ibuildingsnl/qa-tools/issues/76

rjkip commented 7 years ago

Make sure ESLint is configured to check for sensible cyclomatic complexity. Related JSHint issue https://github.com/ibuildingsnl/qa-tools/issues/18

rjkip commented 7 years ago

We could also opt for something like https://github.com/jlongster/prettier. Why not actually reformat to a standard, rather than checking and requiring developers to fix it themselves?