@zanminkian/eslint-config
v0.4.4
Published
A strict eslint config for better code quality.
Downloads
283
Maintainers
Readme
@zanminkian/eslint-config
A strict eslint config for better code quality. Based on standard.js without any stylistic opinions.
Feature
- Based on standard.js, but introduced more powerful rules to forbid stupid codes.
- One-line of config.
- Work well with Prettier without conflicts.
- Designed to work with TypeScript, NestJS and React out-of-box.
Usage
Install
pnpm add -D eslint @zanminkian/eslint-config
Config eslint.config.js
import config from "@zanminkian/eslint-config";
export default config;
Config package.json
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}
License
MIT