4.0.9 • Published 5 months ago

eslint-config-ted v4.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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