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,602
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

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin