Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mefengl/add-antfu-eslint
Add @antfu/eslint-config, another kind of prettier
https://github.com/mefengl/add-antfu-eslint
Last synced: 11 days ago
JSON representation
Add @antfu/eslint-config, another kind of prettier
- Host: GitHub
- URL: https://github.com/mefengl/add-antfu-eslint
- Owner: mefengl
- Created: 2023-11-06T14:05:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T02:07:06.000Z (about 1 year ago)
- Last Synced: 2024-04-23T14:43:21.125Z (8 months ago)
- Language: JavaScript
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# add [antfu's eslint](https://github.com/antfu/eslint-config)
To use, run:
```
npx add-antfu-eslint
```It will:
- 📦 **Installs Packages**: Adds `eslint` and `@antfu/eslint-config`.
- ⚙️ **ESLint Configuration**: Adapts based on your `package.json`'s `"type": "module"`.
- 🚀 **Scripts**: Injects `lint` and `lint:fix` if they're missing.
- 📌 **Reminder**: Suggests setting up the ESLint VS Code extension with a link for more.> Basically, it will follow the advice provided in the [README](https://github.com/antfu/eslint-config/blob/main/README.md) of @antfu/eslint-config.
Enjoy! 🎉