1.0.7 • Published 3 years ago

eslint-config-vvdev-rn v1.0.7

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

eslint-config-vvdev-rn

Installation

Install eslint:

yarn add --D eslint

Add scripts in package.json

"lint": "node_modules/.bin/eslint ./${SOURCES} --ext .js,.jsx",
"lintfix": "node_modules/.bin/eslint ./${SOURCES} --ext .js,.jsx --fix"

where ${SOURCES} is root of linted code

Create file .eslintrc with next content:

{
  "extends": "vvdev-rn"
}

Usage

Use one of the next commands

yarn run lint

Auto check before commit

See husky

TODO: