0.0.5 • Published 1 year ago
@topplethenun/eslint-config v0.0.5
@topplethenun/eslint-config
- Enables ESLint Recommended rules for JS
- Enables TypeScript ESLint Recommended rules for TS
- Disables
require
rule for JS files
- Disables
- Enables simple import sorting rules for JS/TS
Usage
Install
$ pnpm install -D @topplethenun/eslint-config
Config .eslintrc
{
"extends": "@topplethenun"
}
Add scripts to package.json
{
"scripts": {
"lint": "eslint --format stylish --max-warnings 0 --cache .",
"lint:fix": "eslint --format stylish --max-warnings 0 --cache . --fix"
}
}
License
MIT License © 2023-PRESENT Richard Harrah