Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Default eslint config for snowpact projects
https://github.com/snowpact/eslint-config

Last synced: about 1 month ago
JSON representation

Default eslint config for snowpact projects

Awesome Lists containing this project

README

        

# Snowpact eslint config

## Installation

```shell script
yarn add @snowpact/eslint-config -D
```

## Usage

### React
Using `.eslintrc.json`:
```json
{
"extends": "@snowpact/eslint-config/react"
}
```

Using `.eslintrc.js`:
```javascript
module.exports = {
extends: '@snowpact/eslint-config/react'
}
```

and in `package.json` :

```json
"devDependencies": {
"@snowpact/eslint-config": "^1.1.3",
"eslint": "^7.32.0",
"prettier": "^2.4.1"
},
```