eslint-config-getninjas

4.2.0 • Public • Published

eslint-config-getninjas

npm version

This is our eslint config, to centralize and to distribute this config by npm. We are extending eslint-config-airbnb-base (not the eslint-config-airbnb, because we don't have necessity of eslint-plugin-jsx-a11y and eslint-plugin-react - for now).

Installing

On your project, run the code below:

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

Installing globally

Some editors (like Vim) runs eslint globally, so you need to install eslint dependencies on your environment. To install it, just:

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

Usage

We export two ESLint configurations for your usage.

eslint-config-getninjas

Add "extends": "getninjas" to your .eslintrc.

eslint-config-getninjas/legacy

Add "extends": "getninjas/legacy" to your .eslintrc.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-getninjas

Weekly Downloads

35

Version

4.2.0

License

MIT

Unpacked Size

4.63 kB

Total Files

7

Last publish

Collaborators

  • felipesaev
  • getninjas-tech
  • costalince
  • trevelint