1. eslint-config-gitbook
GitBook's ESLint config, following our styleguide
eslint-config-gitbook
Package: eslint-config-gitbook
Created by: GitbookIO
Last modified: Fri, 17 Jun 2022 19:06:36 GMT
Version: 5.0.1
License: Apache-2.0
Downloads: 197
Repository: https://github.com/GitbookIO/eslint-config-gitbook

Install

npm install eslint-config-gitbook
yarn add eslint-config-gitbook

eslint-config-gitbook

NPM version
Build Status

This package provides GitBook's .eslintrc as an extensible shared config. It is mostly based on airbnb styleguide and setup with prettier to code format with eslint --fix.

Installation

npm install eslint-config-gitbook --save-dev

With npm 5+, you can now install the package along with its peer dependencies easily:

npx install-peerdeps --dev eslint-config-gitbook

Usage

Add to your .eslintrc:

 {
    "extends": "gitbook"
}

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