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