https://github.com/coditory/eslint-config-coditory
Coditory linter rules for JavaScript
https://github.com/coditory/eslint-config-coditory
Last synced: 2 months ago
JSON representation
Coditory linter rules for JavaScript
- Host: GitHub
- URL: https://github.com/coditory/eslint-config-coditory
- Owner: coditory
- Created: 2019-01-05T16:09:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T05:15:31.000Z (over 4 years ago)
- Last Synced: 2025-10-23T10:56:43.499Z (6 months ago)
- Language: JavaScript
- Size: 201 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coditory eslint configuration
[](https://travis-ci.org/coditory/eslint-config-coditory)
[](http://npm.im/eslint-config-coditory)
[](http://npm-stat.com/charts.html?package=eslint-config-coditory&from=2015-08-01)
[Eslint](http://eslint.org/) configuration used in [Coditory](https://github.com/coditory).
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-coditory` 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: coditory
```
For [koa](http://koajs.com/) based project use specific configuration:
```yaml
extends: 'coditory/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.