2.0.6 • Published 11 months ago

eslint-config-frbosquet-tsnext v2.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

eslint-config-frbosquet-tsnext

Opinionated eslint config. Meant to be used with:

  • Next app router
  • Tailwind
  • Typescript
  • Tanstack query

And with the flat config format of eslint

Installation

npm i -D eslint-config-frbosquet-tsnext
pnpm i -D eslint-config-frbosquet-tsnext
yarn add -D eslint-config-frbosquet-tsnext

Usage

In your eslint.config.mjs file:

  import frbosquet from 'eslint-config-frbosquet-tsnext'

  export default [
    ...frbosquet,
    {
      // your custom rules
    }
  ]

Usage with shadcn/ui

If you want to avoid shadcn components from being parsed by the linter:

  import frbosquet from 'eslint-config-frbosquet-tsnext'

  export default [
    ...frbosquet,
    {
      // your custom rules
    },
    {
        ignores: ['components/ui/**/*'],
    }
  ]
2.0.5

11 months ago

2.0.4

11 months ago

2.0.6

11 months ago

2.0.3

12 months ago

2.0.2

12 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago