Skip to content

ybiquitous/eslint-config-ybiquitous

Repository files navigation

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"