Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codekoalas/eslint-config-koality
A koality eslint config
https://github.com/codekoalas/eslint-config-koality
config eslint lint npm
Last synced: 3 days ago
JSON representation
A koality eslint config
- Host: GitHub
- URL: https://github.com/codekoalas/eslint-config-koality
- Owner: CodeKoalas
- License: mit
- Created: 2017-04-15T18:54:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T14:38:38.000Z (about 6 years ago)
- Last Synced: 2024-08-10T09:05:12.068Z (3 months ago)
- Topics: config, eslint, lint, npm
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-koality
#### A "Koality" ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) from your friends at [Code Koalas](https://codekoalas.com)
## Install
```bash
npm install --save-dev eslint-config-koality
```The `ESLint Shareable Config` depends on [ESLint](http://eslint.org/) so you'll need to install ESLint as well (if you have not already installed it):
```bash
npm install --save-dev eslint
```## Usage
Shareable configs are designed to work with the `extends` feature of `.eslintrc` files.
You can learn more about
[Shareable Configs](http://eslint.org/docs/developer-guide/shareable-configs) on the
official ESLint website.To use the JavaScript Standard Style shareable config, first install eslint-config-koality:
```bash
npm install --save-dev eslint-config-koality
```Next, add the peer dependencies
```bash
npm install --save-dev eslint eslint-config-prettier eslint-config-standard eslint-config-standard-jsx eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-standard prettier
```Then, add this to your .eslintrc file:
```
{
"extends": "koality"
}
```*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.## License
MIT. License (c) [Code Koalas](https://codekoalas.com)