eslint-config-disruptph
v1.1.0
Published
ESLint Config
Downloads
5
Readme
eslint-config-disruptph
ESLint Config
Usage
npm i -D eslint eslint-config-disruptph
{
"extends": ["disruptph"]
}
TypeScript
npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript
// .eslintrc.json
{
"extends": [
"disruptph",
"disruptph/typescript"
]
}
React
npm i -D eslint-plugin-react eslint-plugin-react-hooks
{
"extends": [
"disruptph",
"disruptph/react"
]
}
For TypeScript + React
{
"extends": [
"disruptph",
"disruptph/typescript",
"disruptph/react"
]
}