https://github.com/ryym/eslint-config-ryym
ESLint shareable config
https://github.com/ryym/eslint-config-ryym
eslint eslint-shareable-configs
Last synced: about 2 months ago
JSON representation
ESLint shareable config
- Host: GitHub
- URL: https://github.com/ryym/eslint-config-ryym
- Owner: ryym
- License: mit
- Created: 2016-04-17T03:58:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-01T09:56:22.000Z (over 7 years ago)
- Last Synced: 2025-02-16T22:17:39.336Z (3 months ago)
- Topics: eslint, eslint-shareable-configs
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shareable ESLint config for [@ryym](https://github.com/ryym)
* [ESLint](https://github.com/eslint/eslint)
* [ESLint shareable configs](http://eslint.org/docs/developer-guide/shareable-configs)## Usage
First, install ESLint and this config via npm.
```sh
npm i -D eslint eslint-config-ryym
```### Use basic configs
```json
module.exports = {
"extends": "ryym/base"
}
```### Use basic configs for [React](https://facebook.github.io/react/) (JSX)
```json
module.exports = {
"extends": "ryym/base-react",
"plugins": [
"react"
]
}
```Note that you need to install [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react).