You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@broxus/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@broxus/eslint-config

Broxus base configuration for ESLint

3.8.1
latest
npmnpm
Version published
Maintainers
7
Created
Source

Recommended ESLint configuration to create formatted code with best practices. Based on the AirBnB ESLint config.

Installation

Install the package as development dependency, alongside eslint package

npm i @broxus/eslint-config eslint -D

or

yarn add @broxus/eslint-config eslint -D

Usage

Create the .eslintrc.js file in the root directory of your project and put code below to the file

module.exports = {
    extends: [
        ...
        '@broxus',
        '@broxus/eslint-config/hooks', // includes react-hooks rules 
        ...
        'prettier' // eslint-config-prettier
    ],
    rules: {
        // ...your own custom rules and overrides
    }
}

or add code below to the package.json

{
    ...
    "eslintConfig": {
        "extends": ["@broxus"]
    },
    ...
}

Keywords

eslint

FAQs

Package last updated on 03 May 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