🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@sinonjs/eslint-config

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinonjs/eslint-config

Common eslint config for Sinon

latest
Source
npmnpm
Version
7.0.3
Version published
Weekly downloads
3.7K
56.29%
Maintainers
6
Weekly downloads
 
Created
Source

Shared eslint config for Sinon

The sharable eslint config for all Sinon.JS projects.

The package includes all the dependencies to have a working eslint setup that works with the configuration. Adopting projects will only need to install @sinonjs/eslint-config.

Install

$ npm install @sinonjs/eslint-config --save-dev

The published package now expects a current Node LTS runtime: ^20.19.0 || ^22.13.0 || >=24.

Repository development also expects Node 20 or newer because the local pre-commit tooling is on lint-staged 16.x.

Usage

Add an eslint.config.js file to the project root:

"use strict";

module.exports = require("@sinonjs/eslint-config");

Create a .browserslistrc in the root of the project

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 11
not op_mini all
maintained node versions

Visit browserslist.dev to see what this translates to.

FAQs

Package last updated on 11 Apr 2026

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