Skip to content

Noah-Ywh/eslint-config

Repository files navigation

ESLint Config

ESlint config for Vue 3 + TypeScript,NestJS.

Usage

pnpm add @noahyu/eslint-config-vue -D

pnpm add @noahyu/eslint-config-nest -D

# Or yarn add -D / npm install -D

Quick start

Vue 3 + TypeScript

pnpm add @noahyu/eslint-config-vue
// eslint.config.mjs
import noahyuConfig from '@noahyu/eslint-config-vue'

export default [
  ...noahyuConfig,
  // anything from here will override noahyuConfig
  {
    rules: {
      // ···
    },
  },
]

NextJS

pnpm add @noahyu/eslint-config-nest
// eslint.config.mjs
import noahyuConfig from '@noahyu/eslint-config-nest'

export default [
  ...noahyuConfig,
  // anything from here will override noahyuConfig
  {
    rules: {
      // ···
    },
  },
]

License

MIT

Copyright (c) 2023-present, Noah Yu