Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

volga-volga/eslint-config-vvdev-rn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • [] global constants
  • [] flow plugin
  • [] sonarjs plugin
  • [] react-native plugin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published