Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/commercialtribe/eslint-config
https://github.com/commercialtribe/eslint-config
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/commercialtribe/eslint-config
- Owner: CommercialTribe
- License: mit
- Created: 2017-07-18T04:34:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T16:08:14.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T18:43:46.877Z (3 months ago)
- Language: JavaScript
- Size: 84 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# CommercialTribe eslint-configs [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url]
[travis-image]: https://img.shields.io/travis/commercialtribe/eslint-config-isomorphic/master.svg
[travis-url]: https://travis-ci.org/commercialtribe/eslint-config-isomorphic
[npm-image]: https://img.shields.io/npm/v/eslint-config-isomorphic.svg
[npm-url]: https://npmjs.org/package/eslint-config-isomorphic
[downloads-image]: https://img.shields.io/npm/dm/eslint-config-isomorphic.svg
[downloads-url]: https://npmjs.org/package/eslint-config-isomorphic#### An ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) for JavaScript Isomorphic Apps
## Install
First install the base config, then choose one of the following configs.
```bash
yarn add --dev \
@commercial-tribe/eslint-config
eslint \
babel-eslint \
eslint-plugin-promise \
eslint-plugin-standard
```### For React:
```bash
yarn add --dev \
eslint-plugin-react \
eslint-plugin-import \
eslint-import-resolver-webpack
```*Then, add this to your .eslintrc file:*
```
{
"extends": "@commercial-tribe/eslint-config/react"
}
```### For Angular:
```bash
yarn add --dev \
eslint-plugin-angular
```*Then, add this to your .eslintrc file:*
```
{
"extends": "@commercial-tribe/eslint-config/angular"
}
```### For Node:
```bash
yarn add --dev \
eslint-plugin-node
``````
{
"extends": "@commercial-tribe/eslint-config/node"
}
```*Note: We omitted the `eslint-config-` prefix since it is automatically assumed by ESLint.*
You can override settings from the shareable config by adding them directly into your
`.eslintrc` file.