productive-eslint
v1.0.7
Published
Mildly strict and sufficiently practical ESLint config. Powered by @antfu/eslint-config and based on Evgeny Orekhov's eslint-config-hardcore
Maintainers
Readme
A ESLint config for practical code analysis
This is a config preset aimed at providing a fast and efficient way to distribute our team's desired ESLint configuration. It is heavily inspired by Evgeny Orekhov's eslint-config-hardcore and is fully powered Anthony Fu's @antfu/eslint-config because of its extremely convenient tooling.
This config is extremely opinionated, so if certain sets of rules don't suit you - you are free to extend and override any given rules, but we would suggest creating your own superset of @antfu/eslint-config as a more efficient alternative if you plan on making severe modifications to the rulesets.
📦 Installation
pnpm add -D productive-eslint eslint typescript prettier prettier-plugin-jsdoc
# or
npm i -D productive-eslint eslint typescript prettier prettier-plugin-jsdoc🚀 Usage
Make sure you have the following dependencies installed:
- ESLint 9.26+
- TypeScript 5.8+ (required)
- Prettier 3.5+
Create eslint.config.ts in project root:
import productiveEslint from 'productive-eslint' export default productiveEslint() .override('antfu/typescript/rules', { languageOptions: { parserOptions: { projectService: true } }, })Add scripts to package.json:
"scripts": { "lint": "eslint .", "lint:fix": "eslint . --fix" }
📄 License: MIT © Bogdan Binitskiy
💻 Contributor: Roman Nikitin
