Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

make-lint

segmentio106MIT1.0.1

eslint make target

make, lint, makefile, eslint, linting

readme

make-lint

ESLint lint target for Make with sane defaults.

Installation

$ npm install --save-dev make-lint

Example

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

License

MIT