Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.45 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.45 KB

eslint-config-ybiquitous

npm node MIT License Conventional Conventional Commits Changelog

My personal ESLint configuration.

This package purpose is to collect some tips and plugins.

For more details about plugins used in this package, please check dependencies field in package.json.

Install

When not using TypeScript:

npm install --save-dev eslint-config-ybiquitous eslint prettier

When using TypeScript, install the following in addition:

npm install --save-dev @typescript-eslint/eslint-plugin

Usage

Edit your .eslintrc.* file according to some following cases:

Case Setting
Basic extends: "ybiquitous"
Node.js extends: "ybiquitous/node"
Browser extends: "ybiquitous/browser"
React extends: "ybiquitous/react"
TypeScript extends: "ybiquitous/typescript"