Skip to content

sinonjs/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 25, 2024
3c05528 · Apr 25, 2024
Feb 10, 2020
Mar 12, 2021
May 13, 2023
Dec 27, 2023
May 4, 2021
Mar 12, 2021
Apr 25, 2024
Feb 10, 2020
Feb 25, 2017
Mar 12, 2021
Nov 28, 2023
Apr 25, 2024
Apr 25, 2024
May 13, 2023

Repository files navigation

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.