yarn add --D eslint
"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
{
"extends": "vvdev-rn"
}
Use one of the next commands
yarn run lint
See husky