Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devsu/eslint-config-devsu-node
Devsu's ESLint shareable configs for node applications.
https://github.com/devsu/eslint-config-devsu-node
Last synced: about 2 months ago
JSON representation
Devsu's ESLint shareable configs for node applications.
- Host: GitHub
- URL: https://github.com/devsu/eslint-config-devsu-node
- Owner: devsu
- License: mit
- Created: 2016-12-29T21:31:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T18:08:26.000Z (over 7 years ago)
- Last Synced: 2024-11-04T03:32:48.513Z (2 months ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-devsu-node (deprecated)
Devsu's ESLint shareable configs for node applications.## Deprecated
This module is now deprecated, this configurations will be available through
the package [eslint-config-devsu](https://github.com/devsu/eslint-config-devsu) extending `devsu/node` config.## Usage
Add `eslint` and `eslint-config-devsu-node` to `devDependencies` in your `package.json`:
```
npm install --save-dev eslint eslint-config-devsu-node
```In your project root, create/edit `.eslintrc`:
```
{
"extends": "devsu-node"
}
```Change in `package.json` your run script to add a lint property:
```
...
"scripts": {
"lint": "eslint ."
},
...
```Try our rules by running:
```
npm run lint
```## Overriding rules
To override a particular rule, use the `rules` key:
```
{
"extends": "devsu-node",
"rules": {
"comma-dangle": "off"
}
}
```