1.12.0 • Published 3 years ago

@michchan/eslint-config v1.12.0

Weekly downloads
9
License
ISC
Repository
github
Last release
3 years ago

@michchan/eslint-config

NPM

My shared eslint config package for different use cases

Get Started

Installing

Install using npm or yarn:

npm i --save-dev @michchan/eslint-config
yarn add -D @michchan/eslint-config

Usage

For basic ES6+ NodeJS-based app:

// .eslintrc.js
module.exports = {
  "extends": "@michchan/eslint-config",
}

For TypeScript NodeJS-based app:

// .eslintrc.js
module.exports = {
  "extends": "@michchan/eslint-config/node-ts",
}

For React TypeScript app:

// .eslintrc.js
module.exports = {
  "extends": "@michchan/eslint-config/react-ts",
}

Features

Disable in Create React App

If you are using @michchan/eslint-config/react-ts, you can disable it by adding the following environment variables before running an script (e.g. react-scripts start):

REACT_APP_DEV_ESLINT_DISABLED=true

This is useful to disable Eslint on development with Create React App, but remain checking in CI workflows. Say when the project is too large to make the reloading so slow.

1.12.0

3 years ago

1.10.3

3 years ago

1.10.2

3 years ago

1.11.0

3 years ago

1.10.1

3 years ago

1.10.0

3 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.0.0

5 years ago