Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timkurvers/eslint-config

My ESLint config
https://github.com/timkurvers/eslint-config

Last synced: 6 days ago
JSON representation

My ESLint config

Awesome Lists containing this project

README

        

# eslint-config

[![Version](https://badgen.net/npm/v/@timkurvers/eslint-config)](https://www.npmjs.org/package/@timkurvers/eslint-config)
[![MIT License](https://badgen.net/github/license/timkurvers/eslint-config)](LICENSE.md)
![Checks](https://badgen.net/github/checks/timkurvers/eslint-config)

My ESLint configuration, based on [Airbnb's](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb).

## Usage

Available via [npm](https://www.npmjs.com):

```shell
npm install --save-dev @timkurvers/eslint-config
```

Dependencies to install:

```shell
npm install --save-dev eslint eslint-plugin-import eslint-config-airbnb
```

Tweak `.eslintrc`:

```json
{
"extends": "@timkurvers"
}
```

### React

Additional dependencies to install:

```shell
npm install --save-dev eslint-plugin-react eslint-plugin-jsx-a11y
```

Tweak `.eslintrc`:

```json
{
"extends": "@timkurvers/eslint-config/react"
}
```