Skip to content

globalbrain/eslint-config

Repository files navigation

Global Brain: ESLint Config

This package provides the Global Brain eslint preset as an extensible shared config. It is an opinionated extension of @antfu/eslint-config.

Usage

Install

pnpm add -D eslint @globalbrain/eslint-config

Configuration

.eslintrc

{
  "extends": "@globalbrain"
}

package.json

{
  "scripts": {
    "lint": "eslint . --fix",
    "lint:fail": "eslint ."
  }
}

License

This package is open-sourced software licensed under the MIT license.