1.0.6 • Published 6 months ago

@weron/eslint-config v1.0.6

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

Weron ESLint Config

What's included?

  • Standard base configuration;
  • React and React Hooks plugins;
  • JSX a11y for accessibility;
  • Prettier integration;
  • Next.js support;
  • Node.js support;
  • Vanilla support.

Installation

Install dependencies:

npm i -D @weron/eslint-config

Usage

Add the appropriate configuration to your .eslintrc.json based on the project type:

React (with Next.js)

{
  "extends": "@weron/eslint-config/next"
}

React (without Next.js)

{
  "extends": "@weron/eslint-config/react"
}

Node.js

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

Vanilla

{
  "extends": "@weron/eslint-config/vanilla"
}