Skip to content

zhangaz1/sanctuary-style

 
 

Repository files navigation

sanctuary-style

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

This project exports ESLint configuration files targeting ES3 and ES6.

Usage

"devDependencies": {
  "eslint": "<version>",
  "sanctuary-style": "<version>"
}
ESLINT = node_modules/.bin/eslint
ESLINT_OPTS = --config node_modules/sanctuary-style/eslint-es6.json --env es6 --env node
LIB = $(shell find lib -name '*.js' | sort)

.PHONY: lint
lint:
	$(ESLINT) $(ESLINT_OPTS) -- $(LIB)

About

ESLint configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.3%
  • Makefile 20.5%
  • Shell 1.2%