1.0.9 • Published 1 year ago
@kaizentech/eslint-config-typescript v1.0.9
@kaizentech/eslint-config
This package contains TypeScript, React, and React Native style guides
Installation
yarn add -D @kaizentech/eslint-config-typescript eslint prettier
Usage
first of all create a .eslintrc.json file in the root of your project.
if you want to use React config add this
{
"root": true,
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": "@kaizentech/typescript"
}
if you want to use React Native config add this
{
"root": true,
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": "@kaizentech/eslint-config-typescript/react-native"
}