sanctuary-style

ESLint configuration


Keywords
sanctuary
License
MIT
Install
npm install sanctuary-style@8.0.0

Documentation

sanctuary-style

Code should be correct, obviously, but it should also be stylish.

This project exports an ESLint configuration file.

Usage

"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)