Socket
Socket
Sign inDemoInstall

@buames/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buames/eslint-config

@buames/eslint-config


Version published
Maintainers
1
Created
Source

@buames/eslint-config

Installation

Install with yarn

yarn add --dev @buames/eslint-config

Or install with npm

npm install @buames/eslint-config

Usage

The base config includes rules for any TypeScript-based project. Includes recommended and optional rules from eslint, prettier, eslint-plugin-import, eslint-plugin-unicorn, eslint-plugin-jest, and more. TypeScript specific rules are enabled using @typescript-eslint/eslint-plugin and @typescript-eslint/parser.

module.exports = {
  root: true,
  extends: ['@buames/eslint-config'],
};

Presets

Not included by default, these additional preset configs can also be extended.

NameDescription
nodeSets the environment to Node.js and enabled node specific rules using eslint-plugin-node.
reactSets the environment to Browser and enabled React specific rules using eslint-config-airbnb.

Be sure to include the full scope name when extending these additional presets.

// .eslintrc.js
module.exports = {
  root: true,
  extends: [
    '@buames/eslint-config',
    '@buames/eslint-config/node',
    // ... and so on
  ],
};

FAQs

Package last updated on 07 Nov 2022

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