Socket
Book a DemoInstallSign in
Socket

@drieam/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drieam/eslint-config

[![npm](https://img.shields.io/npm/v/@drieam/eslint-config-drieam.svg?maxAge=3600)](https://www.npmjs.com/package/@drieam/eslint-config-drieam)

latest
npmnpm
Version
9.1.0
Version published
Maintainers
5
Created
Source

npm

@drieam/eslint-config

This package provides Drieam's .eslintrc as an extensible shared config. This package is based on Airbnb's configuration.

Usage

import config from "@drieam/eslint-config";

export default [
  ...config.ESLintTypescript,
  ...config.ESLintReact,
  ...config.ESLintTest,
  ...config.ESLintFormat,
  {
    // config with just ignores is the replacement for `.eslintignore`
    ignores: ["**/node_modules/**", "**/dist/**"],
  },
  // base config
  {
    languageOptions: {
      parserOptions: {
        project: ["./tsconfig.eslint.json"],
      },
    },
    rules: {
      ["@typescript-eslint/no-unsafe-assignment"]: "off",
    }
  }
]

FAQs

Package last updated on 12 Jun 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

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.