1.0.17 • Published 1 year ago
@asseco-ce/eslint-config-react v1.0.17
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
.