Nascent Political Miscreant

    @commercial-tribe/eslint-config

    1.35.0 • Public • Published

    CommercialTribe eslint-configs travis npm downloads

    An ESLint Shareable Config for JavaScript Isomorphic Apps

    Install

    First install the base config, then choose one of the following configs.

    yarn add --dev \
      @commercial-tribe/eslint-config
      eslint \
      babel-eslint \
      eslint-plugin-promise \
      eslint-plugin-standard

    For React:

    yarn add --dev \
      eslint-plugin-react \
      eslint-plugin-import \
      eslint-import-resolver-webpack

    Then, add this to your .eslintrc file:

    {
      "extends": "@commercial-tribe/eslint-config/react"
    }
    

    For Angular:

    yarn add --dev \
      eslint-plugin-angular

    Then, add this to your .eslintrc file:

    {
      "extends": "@commercial-tribe/eslint-config/angular"
    }
    

    For Node:

    yarn add --dev \
      eslint-plugin-node
    {
      "extends": "@commercial-tribe/eslint-config/node"
    }
    

    Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

    You can override settings from the shareable config by adding them directly into your .eslintrc file.

    Install

    npm i @commercial-tribe/eslint-config

    DownloadsWeekly Downloads

    13

    Version

    1.35.0

    License

    MIT

    Last publish

    Collaborators

    • swaroopaalpine
    • anand_ac
    • hari.ac
    • ct-deploy
    • cdriscol
    • jrobbs
    • jyannessa
    • bknutson
    • ctopherhague