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

@recodive/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recodive/eslint-config

Shareable eslint config used by all Recodive projects

1.8.4
latest
npmnpm
Version published
Maintainers
2
Created
Source

@recodive/eslint-config

This package provides Recodive's .eslintrc as an extensible shared config.

Installation

npm install --save-dev eslint @rushstack/eslint-patch @recodive/eslint-config

We use @rushstack/eslint-patch to patch ESLint's module resolution so that we don't have to install all of the plugins.

Multiple configs

This package provides multiple configs for different projects. As of now, there are configs for:

  • JavaScript/TypeScript projects (default)
  • JavaScript/TypeScript projects with strict type checking (@recodive/eslint-config/strict)
  • Vue projects (@recodive/eslint-config/vue)
  • Vue projects strict (@recodive/eslint-config/vue-strict)

Usage

Create a .eslintrc file in the root of your project with the following contents:

//* Patches eslint's module resolution
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
	extends: "@recodive/eslint-config",
};

FAQs

Package last updated on 07 Mar 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.