Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/beeequeue/eslint-plugin

🔧 My opinionated, modular ESLint configs
https://github.com/beeequeue/eslint-plugin

eslint eslint-config eslint-plugin

Last synced: 5 days ago
JSON representation

🔧 My opinionated, modular ESLint configs

Awesome Lists containing this project

README

        

# `@beequeue/eslint-plugin`

[![](https://img.shields.io/npm/v/@beequeue/eslint-plugin)](https://www.npmjs.com/package/@beequeue/eslint-plugin)
[![](https://img.shields.io/github/actions/workflow/status/BeeeQueue/eslint-plugin/ci.yml?branch=main)](https://github.com/BeeeQueue/eslint-plugin/actions?query=branch%3Amain+workflow%3ACI)

My extensive, opinionated ESLint configs.

Modular config presets that can be mixed and matched!

- [Config base (JS)](./src/config/base.ts): `plugin:@beequeue/base`
- [ESM](./src/config/esm.ts): `plugin:@beequeue/esm`
- [TypeScript](./src/config/typescript.ts): `plugin:@beequeue/typescript`
- [Node](./src/config/node.ts): `plugin:@beequeue/node`
- [React](./src/config/react.ts): `plugin:@beequeue/react`
- [Vue](./src/config/vue.ts): `plugin:@beequeue/vue`
- [Electron](./src/config/electron.ts): `plugin:@beequeue/electron`

---

## Usage

- `npm i -D @beequeue/eslint-plugin`
- `yarn add -D @beequeue/eslint-plugin`
- `pnpm add -D @beequeue/eslint-plugin`

```js
// .eslintrc.js
module.exports = {
root: true,
extends: [
// The base rules are always required
"plugin:@beequeue/base",

// Any other presets you need
"plugin:@beequeue/vue",
"plugin:@beequeue/typescript",
],
}
```