1.1.0 • Published 2 months ago

@zeustech/eslint-config v1.1.0

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

ZeusTech ⚡ ESLint Configuration ⚙️

Description

Project developed to provide standardization of the ESLint + Prettier configuration in the React.js and Node.js projects that ZeusTech uses.


What's included? 🤔

  • Standard configuration base
  • React plugin
  • React Hooks plugin
  • JSX a11y plugin
  • Prettier

Installation

npm i -D @zeustech/eslint-config eslint


React.js

// Inside .eslintrc.cjs

module.exports = {
  extends: [
    '@zeustech/eslint-config/react',
  ]
}

React.js + Next.js

// Inside .eslintrc.json

{
  "extends": [
    "@zeustech/eslint-config/next", 
    "next/core-web-vitals"
  ]
}

Node.js

// Inside .eslintrc.json

{
  "extends": "@zeustech/eslint-config/node"
}

⚡ Made by ZeusTech ⚡