Code should be correct, obviously, but it should also be stylish.
This project exports an ESLint configuration file.
"devDependencies": {
"eslint": "<version>",
"sanctuary-style": "<version>"
}
ESLINT = node_modules/.bin/eslint
ESLINT_OPTS = --config node_modules/sanctuary-style/eslint.json --env node
LIB = $(shell find lib -name '*.js' | sort)
.PHONY: lint
lint:
$(ESLINT) $(ESLINT_OPTS) -- $(LIB)