npm.io
0.3.0 • Published 7 years ago

eslint-config-lucent

Licence
MIT
Version
0.3.0
Deps
6
Size
5 kB
Vulns
0
Weekly
0

ESLint Config for ReactJS

About

ESLint configuration based off of Airbnb's ESLint configuration. Many of the errors will not crash application so they have been reduced to warnings.

Configuration

  1. npm i -D eslint-config-lucent

  2. Create a .eslintrc file in the root directory

  3. Add the following:

     {
       "extends": "eslint-config-lucent"
     }
  4. We suggest to use babel-eslint to transpile code.

    a. npm i -D eslint babel-eslint

    b. Use the following for .eslintrc

     {
       "extends": "eslint-config-lucent",
       "parser": "babel-eslint"
     }

Keywords