sanctuary-style

ESLint configuration

Usage no npm install needed!

<script type="module">
  import sanctuaryStyle from 'https://cdn.skypack.dev/sanctuary-style';
</script>

README

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)