@asseco-ce/eslint-config-react
v1.0.17
Published
Default configuration for eslint.
Downloads
38
Readme
eslint-config-react
ESLint rules used across Asseco CE projects with bundled dependencies.
🔧 Installation
npm i --save-dev @asseco-ce/eslint-config-react
⚙️ Configuration
In your configuration file:
{
...
extends: ['@asseco-ce/eslint-config-react', ...],
parserOptions: {
project: ['./path.to.tsconfig.json'],
projectService: true,
tsconfigRootDir: __dirname,
},
...
}
📦 Dependencies
We need
eslint-plugin-react-hooks
,eslint-plugin-jsx-a11y
,eslint-plugin-import
,@typescript-eslint/*
for @nx/react
.