This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

eslint-config-vvdev-rn

1.0.7 • Public • Published

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

/eslint-config-vvdev-rn/

    Package Sidebar

    Install

    npm i eslint-config-vvdev-rn

    Weekly Downloads

    14

    Version

    1.0.7

    License

    ISC

    Unpacked Size

    27.9 kB

    Total Files

    14

    Last publish

    Collaborators

    • ownikss