Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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! 🎉