Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codemotionapps/eslint-config-codemotion
https://github.com/codemotionapps/eslint-config-codemotion
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/codemotionapps/eslint-config-codemotion
- Owner: codemotionapps
- License: mit
- Created: 2018-11-12T22:40:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T06:59:44.000Z (almost 3 years ago)
- Last Synced: 2024-08-10T07:37:46.918Z (3 months ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Codemotion ESLint Configuration
## Installation
```sh
yarn add --dev eslint eslint-config-codemotion
```## Usage
Specify `codemotion` in the [`extends`](https://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](https://eslint.org/docs/user-guide/configuring).
```json
{
"eslintConfig": {
"extends": "codemotion"
}
}
```---
If your target environment is running Node.js 7 or below add `codemotion/extra/oldNode` to your configuration (or `codemotion/extra/error/oldNode` for errors)
```json
{
"eslintConfig": {
"extends": [
"codemotion",
"codemotion/extra/oldNode"
]
}
}
```