0.1.0 • Published 4 years ago

eslint-config-distru v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

Distru eslint

Install package:

npm i -D eslint-config-distru


Install dependencies:

npm i -D eslint-config-distru eslint eslint-plugin-react eslint-plugin-babel babel-eslint

Note: When using syntastic with vim, run the following command as well:

npm i -g eslint-config-distru eslint eslint-plugin-react eslint-plugin-babel babel-eslint


Gotcha:

ESLint will sometimes have trouble finding babel-eslint or other modules when using extends in your eslintrc. This can cause in-editor linting to not work properly. In order to avoid this, it's best to also install any ESLint dependencies globally as well,

npm i -g eslint-config-distru eslint eslint-plugin-react eslint-plugin-babel babel-eslint


.eslintrc Configuration:

Create a .eslintrc file in the root of the project directory:

{
  "extends": "eslint-config-distru"
} 
0.1.0

4 years ago

0.0.7

5 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago