1.5.0 • Published 3 years ago
eslint-config-tsx v1.5.0
ESLint Config
ESLint configuration used for TypeScript projects.
Install
$ yarn add --dev eslint-config-tsxUsage
Modify your eslint config as follows.
TypeScript (with or without React)
Add "extends": "tsx" to your eslint config. For example, if your eslint config is in package.json, it would look like this:
{
"eslintConfig": {
"extends": "tsx"
}
}React Native
Add "extends": "tsx/react-native" to your eslint config. For example, if your eslint config is in package.json, it would look like this:
{
"eslintConfig": {
"extends": "tsx/react-native"
}
}1.5.0
3 years ago