Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sanctuary-js/sanctuary-style
- Owner: sanctuary-js
- License: mit
- Created: 2016-05-01T05:38:09.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T11:39:37.000Z (2 months ago)
- Last Synced: 2024-10-27T13:09:57.911Z (2 months ago)
- Topics: sanctuary
- Language: JavaScript
- Size: 92.8 KB
- Stars: 12
- Watchers: 10
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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/