3.1.1 • Published 4 months ago
@untile/eslint-config-typescript-react-native v3.1.1
Requirements
- Node.js >= 20
- ESLint >= 9
- TypeScript >= 4.9.0
Installation
With npm
:
npm install eslint @untile/eslint-config-typescript-react-native --save-dev
Or using yarn
:
yarn add eslint @untile/eslint-config-typescript-react-native -D
Setup
Create an eslint.config.js
file with the following:
const eslintUntileConfigTypescriptReactNative = require('@untile/eslint-config-typescript-react-native');
module.exports = eslintUntileConfigTypescriptReactNative;
Usage
Add the following script
to your package.json
:
{
"scripts": {
"lint": "eslint ."
}
}
and run the linter with:
yarn lint