Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dwolla/eslint-config-dwolla
https://github.com/dwolla/eslint-config-dwolla
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/dwolla/eslint-config-dwolla
- Owner: Dwolla
- License: mit
- Created: 2016-08-09T20:43:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-16T21:37:06.000Z (over 3 years ago)
- Last Synced: 2024-09-18T17:09:39.834Z (about 2 months ago)
- Language: JavaScript
- Size: 68.4 KB
- Stars: 1
- Watchers: 16
- Forks: 1
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shared ESLint Rules
[![Build Status](https://img.shields.io/travis/Dwolla/eslint-config-dwolla/master.svg?style=flat)](https://travis-ci.org/Dwolla/eslint-config-dwolla)
## Usage
Extend the rulesets contained in this config to stay in sync with our conventions. Override any conflicting rules in
your local config, but consider contributing them back to this config if we should align to that rule, too.### Base
In your base `.eslintrc`, extend the `es6.js` ruleset:```
extends: '@dwolla/dwolla/rules/es6'
```### Extension
Since ESLint traverses the file system looking for `.eslintrc` files in each directory, you can add additional config
files where you use a specific convention beyond the base.### React
```
extends: '@dwolla/dwolla/rules/react'
```### Tests
#### Base
```
extends: '@dwolla/dwolla/rules/tests/base'
```#### Mocha
```
extends: '@dwolla/dwolla/rules/tests/mocha'
```#### React
Some overrides to be a little less strict when testing React components
```
extends: '@dwolla/dwolla/rules/tests/mocha'
```