Socket
Book a DemoInstallSign in
Socket

@globalbrain/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globalbrain/eslint-config

The Global Brain ESLint Config.

2.0.1
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

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

eslint.config.js

import globalbrain from '@globalbrain/eslint-config'
export default globalbrain()

The default export of this package is a factory function that accepts an arbitrary number of ESLint configuration objects, which will be merged into the final configuration. It returns a FlatConfigComposer object from eslint-flat-config-utils, allowing you to chain methods for even more flexible configuration composition.

package.json

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

License

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

Keywords

eslint

FAQs

Package last updated on 04 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.