Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@broxus/eslint-config

Package Overview
Dependencies
Maintainers
6
Versions
16
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.3.0
  • npm
  • Socket score

Version published
Maintainers
6
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

FAQs

Package last updated on 14 May 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc