Vexcited's ESLint config preset.
  • TypeScript 100%
Find a file
Mikkel ALMONTE--RINGAUD c1b92254b9
Some checks failed
Checks / checks (push) Failing after 24s
chore: release v0.3.0
2026-01-14 21:18:57 +01:00
.github chore(ci): update templates 2025-12-13 21:11:39 +01:00
.vscode feat: add everything 2025-04-21 03:50:33 +02:00
src fix: upgrade perfectionist to v5 2026-01-14 21:17:34 +01:00
.gitignore feat: add everything 2025-04-21 03:50:33 +02:00
bun.lock feat: add solidjs support 2026-01-14 21:11:40 +01:00
bunup.config.ts chore: migrate to bunup 2025-12-13 19:25:56 +01:00
eslint.config.ts feat: add everything 2025-04-21 03:50:33 +02:00
package.json chore: release v0.3.0 2026-01-14 21:18:57 +01:00
README.md chore(deps): upgrade 2025-12-13 19:26:08 +01:00
tsconfig.json fix: add tsconfig 2025-04-21 04:10:01 +02:00
vercel.json feat: add vercel configuration 2025-04-21 12:19:23 +02:00

@vexcited/eslint-config

  • Auto fix for formatting (aimed to be used standalone without Prettier)
  • Reasonable defaults, best practices, only one line of config
  • Designed to work with TypeScript, JSX, JSON(C), etc. out-of-box
  • Very opinionated, you can't change the rules at all.
  • ESLint Flat config preferred
  • Optional UnoCSS support

Usage

# You have to install `eslint` first,
# then `@vexcited/eslint-config` is the config from this repository !
bun add -D eslint @vexcited/eslint-config
// eslint.config.ts
import vexcited from "@vexcited/eslint-config"
export default vexcited();

Visual Studio Code

Make sure you've installed the ESLint extension.

Once done, you can create a .vscode/settings.json file in your project root with the following settings.

{
  "prettier.enable": false,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit",
    "source.organizeImports": "never"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "html",
    "markdown",
    "json",
    "jsonc",
    "yaml",
    "toml",
    "xml",
    "astro",
    "css",
    "less",
    "scss",
    "pcss",
    "postcss"
  ]
}

Credits

This repository is hugely based on @antfu/eslint-config, but with my own opinionated rules and some extra features.