3.1.1 • Published 8 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-devOr using yarn:
yarn add eslint @untile/eslint-config-typescript-react-native -DSetup
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