0.0.1 • Published 5 years ago
eslint-config-react-native-ts v0.0.1
eslint-config-react-native-ts
An opinionated ESLint config for React Native projects using TypeScript
Includes rules for:
Installation
Install eslint-config-react-native-ts
:
yarn add --dev eslint-config-react-native-ts
Install the required peer dependencies:
yarn add --dev @typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint \
eslint-plugin-react \
eslint-plugin-react-hooks \
eslint-plugin-react-native \
eslint-plugin-react-native-a11y
Usage
In your project's .eslintrc.*
file, add the following:
{
"extends": ["react-native-ts"],
"rules": {
// Your project's overrides and other rules
}
}
License
eslint-config-react-native-ts is licensed under the MIT License.
0.0.1
5 years ago