eslint-config-mizdra
ESLint config for @mizdra
Install
Install along with all compatible peerDeps:
npx install-peerdeps @mizdra/eslint-config-mizdra --dev
npx install-peerdeps @mizdra/eslint-config-mizdra --dev --pnpm
npx install-peerdeps @mizdra/eslint-config-mizdra --dev --yarn
If you don't need all the peerDeps, you can install them manually:
pnpm add -D @mizdra/eslint-config-mizdra eslint eslint-plugin-import
pnpm add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript
pnpm add -D eslint-plugin-react eslint-plugin-react-hooks
pnpm add -D eslint-config-prettier prettier
Usage
module.exports = {
root: true,
extends: [
'@mizdra/mizdra',
'@mizdra/mizdra/+typescript',
'@mizdra/mizdra/+react',
'@mizdra/mizdra/+prettier',
],
env: {
node: true,
jest: true,
},
rules: {
},
};