ESLint lint
target for Make with sane defaults.
$ npm install --save-dev make-lint
Include, defaulting to *.js
:
include node_modules/make-lint/index.mk
Specify the source:
SRC = lib/*.js
include node_modules/make-lint/index.mk
Specify configuration:
LINT_CONFIG = myconfig.json
Typically also:
test: lint
# test stuff here
MIT