Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/snowpact/eslint-config
- Owner: snowpact
- Created: 2021-10-27T09:17:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T15:58:55.000Z (about 2 years ago)
- Last Synced: 2024-11-11T03:39:19.768Z (about 1 month ago)
- Language: JavaScript
- Size: 136 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
},
```