# eslint-config-supreme

> Ultimate eslint config for web development

Latest version **1.4.1** (published 2023-03-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-config-supreme
pnpm add eslint-config-supreme
yarn add eslint-config-supreme
bun add eslint-config-supreme
```

Provides the command `init`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.1 |
| Published | 2023-03-06 |
| First published | 2022-07-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 19 |
| Unpacked size | 102 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | kirill-dev-pro |
| Maintainers | zmeu213 |
| Keywords | eslint, config |

## Links

- npm: https://www.npmjs.com/package/eslint-config-supreme
- Repository: https://github.com/kirill-dev-pro/eslint-config-supreme
- Homepage: https://github.com/kirill-dev-pro/eslint-config-supreme#readme
- Issues: https://github.com/kirill-dev-pro/eslint-config-supreme/issues
- npm.io page: https://npm.io/package/eslint-config-supreme

## Dependencies (19)

- [eslint](https://npm.io/package/eslint.md) ^8.30.0
- [prettier](https://npm.io/package/prettier.md) ^2.7.1
- [typescript](https://npm.io/package/typescript.md) ^4.9.4
- [tailwindcss](https://npm.io/package/tailwindcss.md) ^3.2.7
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^15.2.4
- [astro-eslint-parser](https://npm.io/package/astro-eslint-parser.md) ^0.11.0
- [eslint-plugin-astro](https://npm.io/package/eslint-plugin-astro.md) ^0.23.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.30.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.26.0
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^6.0.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.5.0
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^17.0.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.2.1
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.30.6
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [eslint-plugin-tailwindcss](https://npm.io/package/eslint-plugin-tailwindcss.md) ^3.6.0
- [eslint-config-standard-jsx](https://npm.io/package/eslint-config-standard-jsx.md) ^11.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.30.6
- [eslint-plugin-jsx-control-statements](https://npm.io/package/eslint-plugin-jsx-control-statements.md) ^3.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.4.1 (latest) — 2023-03-06
- 1.4.0 — 2023-03-06
- 1.3.3 — 2022-12-26
- 1.3.1 — 2022-12-26
- 1.3.0 — 2022-12-26
- 1.2.1 — 2022-12-26
- 1.2.0 — 2022-12-26
- 1.1.0 — 2022-07-31
- 1.0.5 — 2022-07-26
- 1.0.4 — 2022-07-25
- 1.0.3 — 2022-07-20
- 1.0.2 — 2022-07-16
- 1.0.1 — 2022-07-16
- 1.0.0 — 2022-07-16

## README

# Supreme eslint config

This is a all-in-one configuration based on personal preferences of the creator. Tuned to work with JS and TS and support on-save fixes in IDE.

## Setup 

Easy one-line setup with `bun`
```sh
bunx eslint-config-supreme init
```
or with `npm`
```sh
npx eslint-config-supreme init
```

## Manual setup

1. Install with `npm`
```sh
npm install eslint-config-supreme
```
* or with `bun`
```sh
bun add eslint-config-supreme
```
2. Add `.eslintrc.js` config file to root of your project
```js
module.exports = {
  extends: 'supreme',
}
```
3*. Add files extensions to `eslint.validate` in `settings.json` of VS Code. Needed for Astro.
```json
"eslint.validate": [
  "javascript",
  "javascriptreact",
  "astro", // Enable .astro
  "typescript", // Enable .ts
  "typescriptreact" // Enable .tsx
]
```

### Optional

Add on-save fix to vs-code 

1. Istall `Eslint` extension for VS code. Extension id `dbaeumer.vscode-eslint`

* VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

2. Add `.vscode/settings.json` file to root of your project
```json
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  }
}
```

---
_Source: https://npm.io/package/eslint-config-supreme · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
