yarn add @snowpact/eslint-config -D
Using .eslintrc.json
:
{
"extends": "@snowpact/eslint-config/react"
}
Using .eslintrc.js
:
module.exports = {
extends: '@snowpact/eslint-config/react'
}
and in package.json
:
"devDependencies": {
"@snowpact/eslint-config": "^1.1.3",
"eslint": "^7.32.0",
"prettier": "^2.4.1"
},