Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

My personal eslint config for hobby projects.
https://github.com/tomchinery/eslint-config

Last synced: 17 days ago
JSON representation

My personal eslint config for hobby projects.

Awesome Lists containing this project

README

        

# `@tomchinery/eslint-config`

> My personal [eslint](https://eslint.org/) config for hobby projects.

## Usage

**Install**

```bash
npm i @tomchinery/eslint-config
```

**Edit `.eslintrc.js`**:

```javascript
module.exports = {
extends: ['@tomchinery/eslint-config']
}
```

**Edit `package.json`**:

```jsonc
{
"scripts": {
...
"lint": "eslint ./src/ --fix --ext .js,.jsx,.ts,.tsx",
...
}
}
```