Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sanctuary-js/sanctuary-style

ESLint configuration
https://github.com/sanctuary-js/sanctuary-style

sanctuary

Last synced: about 2 months ago
JSON representation

ESLint configuration

Awesome Lists containing this project

README

        

# sanctuary-style

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

This project exports an [ESLint][1] configuration file.

## Usage

```json
"devDependencies": {
"eslint": "",
"sanctuary-style": ""
}
```

```make
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)
```

[1]: https://eslint.org/