Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takeshape/eslint-config-takeshape
https://github.com/takeshape/eslint-config-takeshape
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/takeshape/eslint-config-takeshape
- Owner: takeshape
- License: isc
- Created: 2018-06-25T16:52:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T16:55:47.000Z (over 6 years ago)
- Last Synced: 2024-05-10T11:03:37.354Z (6 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-takeshape
> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html)
for the [TakeShape](http://www.takeshape.io) code style. This script
builds on the [XO](https://github.com/sindresorhus/xo) shareable config with
small changes and additions.## Install
```
$ npm install --save-dev eslint eslint-config-takeshape
```## Usage
Add the appropriate ESLint config to your `package.json`:
```json
{
"scripts": {
"lint": "eslint"
},
"devDependencies": {
"eslint": "^2.9.0",
"eslint-config-takeshape": "^1.0.0"
},
"eslintConfig": {
"extends": "takeshape"
}
}
```Lint with
```sh
$ npm run lint
```