0.1.0 • Published 2 years ago

@ghslp/eslint-config v0.1.0

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

@ghslp/eslint-config

Shared ESLint config for personal projects.

How to use

Install

npm install @ghslp/eslint-config --save-dev

Add to ESLint config

Create a .eslintrc.js containing (at least) the following:

// Workaround for https://github.com/eslint/eslint/issues/3458
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
  extends: [
    // Include for all projects:
    "@ghslp/eslint-config",
    // Include for React projects:
    "@ghslp/eslint-config/react"
    // Include for React + Next.js projects:
    "@ghslp/eslint-config/react"
  ],
};