@hydrant/eslint-config

2.2.1 • Public • Published

eslint-config

hydra-newmedia eslint config comes with two different styles (base and modern) and a vue style for vue project.

Installation

npm install --save-dev @hydrant/eslint-config eslint

Setup

Base

Add these lines to your package.json:

"eslintConfig": {
  "extends": "@hydrant/eslint-config/base"
}

Modern

Add these lines to your package.json:

"eslintConfig": {
  "extends": "@hydrant/eslint-config/modern"
}

Vue

Install the package with all vue dependencies:

npm install --save-dev @hydrant/eslint-config eslint eslint-plugin-vue eslint-plugin-html

Add these lines to your package.json:

"eslintConfig": {
  "extends": "@hydrant/eslint-config/vue"
}

License

MIT

/@hydrant/eslint-config/

    Package Sidebar

    Install

    npm i @hydrant/eslint-config

    Weekly Downloads

    60

    Version

    2.2.1

    License

    MIT

    Unpacked Size

    5.38 kB

    Total Files

    8

    Last publish

    Collaborators

    • mheckel
    • fiws
    • hydra-newmedia