Skip to content

preflower/eslint-config

Repository files navigation

eslint-config-ted

My Eslint Rules

  • Base on Standard
  • Provide Typescript / Vue / React Support
  • Provide JSON Support

Usage

pnpm i -D eslint eslint-config-ted

Config eslint.config.ts

import { ted } from "eslint-config-ted"

export default ted(
  [
    /* your custom config */
  ],
  {
    // Default options
    typescript: true,
    vue: true,
    react: false,
  }
)

Rules

JS

JSON

  • Provide JSON file check
  • Provide package.json and tsconfig.json sort

TS

Vue

React

Known Issues

License

MIT

Inspired by