https://github.com/coditorium/eslint-config-coditorium
https://github.com/coditorium/eslint-config-coditorium
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/coditorium/eslint-config-coditorium
- Owner: coditorium
- Created: 2017-02-12T13:31:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T16:09:37.000Z (over 8 years ago)
- Last Synced: 2025-02-12T13:59:03.332Z (over 1 year ago)
- Language: JavaScript
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coditorium eslint configuration
[](https://travis-ci.org/coditorium/eslint-config-coditorium)
[](http://npm.im/eslint-config-coditorium)
[](http://npm-stat.com/charts.html?package=eslint-config-coditorium&from=2015-08-01)
[Eslint](http://eslint.org/) configuration used in [Coditorium](https://github.com/coditorium).
It is an extension of well known [eslint-airbnb-config](https://github.com/airbnb/javascript).
This configuration does not use `peerDependencies`. it means that when you install `eslint-config-coditorium` it will be installed with all its eslint plugins.
For more details on eslint shareable configuration see the [documentation](http://eslint.org/docs/developer-guide/shareable-configs).
## Sample usage
Create `.eslintrc` in project root directory and add:
```yaml
extends: coditorium
```
For [koa](http://koajs.com/) based project use specific configuration:
```yaml
extends: 'coditorium/koa'
```
## Different configurations
- `index` - Use it for any [es6](http://es6-features.org/) projects.
- `base` - Use it for [node.js](https://nodejs.org/) projects. Does not include react and other plugins.
- `react` - Use it for [react](https://facebook.github.io/react/) projects.
- `koa` - Use it for [koa](http://koajs.com/) based projects.