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