Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@chance/eslint

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

@chance/eslint

Rules for my own shit.

npmnpm
Version
1.0.0-beta.7
Version published
Weekly downloads
116
-44.5%
Maintainers
1
Weekly downloads
 
Created
Source

@chance/eslint

Rules for my own shit.

Installation

# pnpm
pnpm add @chance/eslint eslint@9 --save-dev
# npm
npm i @chance/eslint eslint@9 --save-dev

Usage

Extend chance and any optional rulesets in your eslint.config.js:

// eslint.config.js
// (eslint.config.mjs if project is not using ESM)
import * as js from "@chance/eslint";
import * as react from "@chance/eslint/react";
import * as typescript from "@chance/eslint/typescript";
import * as vitest from "@chance/eslint/vitest";

export default [
	js.config,
	// Optional rulesets
	typescript.config,
	react.config,
	vitest.config,
];

FAQs

Package last updated on 19 Dec 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