4.2.0 • Published 6 years ago

eslint-config-getninjas v4.2.0

Weekly downloads
24
License
MIT
Repository
github
Last release
6 years ago

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.

4.2.0

6 years ago

4.1.0

6 years ago

4.0.3

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.1.0

7 years ago

3.0.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago