0.0.2-alpha.39 • Published 2 years ago

@ygorconfig/eslint v0.0.2-alpha.39

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@ygorconfig/eslint

Custom eslint-config setup that can be extended and incorporates:

  • @babel/eslint-parser
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser
  • eslint
  • eslint-config-next
  • eslint-config-prettier
  • eslint-plugin-import
  • eslint-plugin-jest
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • prettier

Breakdown

All currently cjs format:

  • ./index (base)
  • ./typescript
    • ./react (+ typescript)
      • ./jest (+ react)
      • ./next (+ react)
yarn add @ygorconfig/eslint --dev

Base

{
    "extends": "@ygorconfig/eslint"
}

Jest

{
    "extends": "@ygorconfig/eslint/jest"
}

Next

{
    "extends": "@ygorconfig/eslint/next"
}

React

{
    "extends": "@ygorconfig/eslint/react"
}

TypeScript

{
    "extends": "@ygorconfig/eslint/typescript"
}