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

@bidi82/eslint-config-javascript

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bidi82/eslint-config-javascript

bd82's Shareable ESLint configurations for JavaScript.

  • 0.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@bidi82/eslint-config-javascript

bd82's Shareable ESLint configurations for JavaScript.

Installation

npm install --save-dev @bidi82/eslint-config-javascript
# or
yarn add --dev @bidi82/eslint-config-javascript
# or
pnpm install --dev @bidi82/eslint-config-javascript

Usage

This is an ESM only package. It exports a single default eslint flat configuration object.

// eslint.config.mjs

import commonConfig from "@bidi82/eslint-config-javascript";
import globals from "globals";

export default [
  // shared config would normally be included **first**
  ...commonConfig,
  // Your project eslint configs below:
  // 1. Example of additional config for specific project `globals`
  {
    languageOptions: {
      globals: {
        ...globals.node,
        ...globals.mocha,
      },
    },
  },
  // 2. Example of additional config for specific project `ignores`
  {
    ignores: ["**/dist/"],
  },
];

Keywords

FAQs

Package last updated on 17 Sep 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