eslint-config-ringcentral

    7.0.1 • Public • Published

    eslint-config-ringcentral

    The eslint sharable config for the RingCentral JavaScript Style Guide and RingCentral React Style Guide

    Usage

    Install packages

    npm install eslint eslint-plugin-import eslint-plugin-react eslint-config-ringcentral eslint-plugin-sonarjs --save-dev

    Create linter config or edit your own at the root directory of your project

    .eslintrc.yml

    extends: 'ringcentral'

    That's all. Run linter via command line

    $ ./node_modules/.bin/eslint src

    Or specify command in package.json for npm/yarn

    $ cat package.json

      "scripts": {
        "lint": "eslint src"
      }

    then run linter

    npm run lint

    Install

    npm i eslint-config-ringcentral

    DownloadsWeekly Downloads

    481

    Version

    7.0.1

    License

    MIT

    Unpacked Size

    14.2 kB

    Total Files

    3

    Last publish

    Collaborators

    • kirill.konshin