1.2.3 • Published 2 years ago

eslint-config-yb v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Table of Contents

eslint-config-yb

My personal eslint config using typescript. Inspired by eslint-plugin-acme.

See the repository for more information about what inside of my config files.

Repository https://github.com/yarabramasta/eslint-config-yb

Usage

# npm
npm install eslint-config-yb --save-dev

# yarn
yarn add eslint-config-yb --save-dev

Post Installation

Create .eslintrc.js file on the root of the project, and extends to this config.

module.exports = {
  extends: 'yb'
};

Options

You can also specify the config based on your type of project. Default is using only prettier & typescript configs.

Next

module.exports = {
  extends: 'yb/next'
};

React

module.exports = {
  extends: 'yb/react'
};

Backend / Node

module.exports = {
  extends: 'yb/backend'
};

License

MIT