eslint-config-calvium

0.4.0 • Public • Published

Eslint Config Calvium

Current React Native tested versions from 52.x but it may work in earliers too.

eslint

Install

This module can be use in any project as a dev dependency, but it focus in RN projects.

npm install eslint-config-calvium --save-dev
#or
yarn add eslint-config-calvium --dev

after that you just need a .eslintrc in the same folder than the package.json file with this content

// Calvium React Native Project Default ESLint Settings.
{
  "extends": "calvium"
}

NOTES

You must install the appropiate version of eslint for your project. Version 4 is recommended

npm i eslint@4 --save-dev
#or
yarn add eslint@4 --dev

To check the package is working in your installation run:

cd path/to/package.json
./node_modules/.bin/eslint ./path/**

with path being the place where your js code is.

To have this in your IDE in-line:

  • WebStorm/PhpStorm go to:
  - Settings ->
    - Languages & Frameworks ->
      - JavaScript -> 
        - Code Quality Tools ->
          - ESLint -> enable

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-calvium

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

8.9 kB

Total Files

6

Last publish

Collaborators

  • pablocarrillo
  • benvium