make-lint

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i make-lint

Weekly Downloads

31

Version

1.0.1

License

MIT

Last publish

Collaborators

  • tjholowaychuk