7.1.0 • Published 4 years ago

eslint-config-viralize-common v7.1.0

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

eslint-config-viralize-common

Commons eslint rules used by all Viralize config files.

This repository is not intented to be use as a standalone eslint config for producion projects, but a way to centralize some common rules used by ES5 config file, ES6 config file and React config file.

Install

  1. Install the correct versions of each package, which are listed by the command:

    npm info "eslint-config-viralize-common@latest" peerDependencies

    If using npm 5+, use this shortcut

    npx install-peerdeps --dev eslint-config-viralize-common

    If using npm < 5, Linux/OSX users can run

    (
      export PKG=eslint-config-viralize-common;
      npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
    )

    If using npm < 5, Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.

    npm install -g install-peerdeps
    install-peerdeps --dev eslint-config-viralize-common
  2. Add "extends": "viralize-common" to your .eslintrc.

7.1.0

4 years ago

7.0.3

4 years ago

7.0.2

4 years ago

8.0.1

4 years ago

8.0.0

4 years ago

7.0.0

4 years ago

7.0.1

4 years ago

6.0.0

5 years ago

5.0.3

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

4.0.0

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago