1. @sinonjs/eslint-config
Common eslint config for Sinon
@sinonjs/eslint-config
Package: @sinonjs/eslint-config
Created by: sinonjs
Last modified: Thu, 25 Apr 2024 14:00:36 GMT
Version: 5.0.3
License: BSD-3-Clause
Downloads: 1,448
Repository: https://github.com/sinonjs/eslint-config-sinon

Install

npm install @sinonjs/eslint-config
yarn add @sinonjs/eslint-config

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

Usage

Add this to the package.json:

 {
  "eslintConfig": {
    "extends": "@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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code