0.3.0 • Published 5 years ago
eslint-config-lucent v0.3.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
npm i -D eslint-config-lucent
- Create a
.eslintrc
file in the root directory Add the following:
{ "extends": "eslint-config-lucent" }
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" }