@ww-digital/eslint-config

1.1.1 • Public • Published

@ww-digital/eslint-config

Requirements

  • eslint 4.x is a dependency, so make sure your project doesn't already have a conflicting version

Install

  1. From the root of your project, run:

    npm i -D @ww-digital/eslint-config
    
  2. Add this to your package.json in the scripts section:

    "eslint": "eslint ./"
    
  3. Add this .eslintrc file to the root of your project:

    {
      "extends": "@ww-digital/eslint-config/nodejs",
      "rules": {}
    }

    ** You may substitute angularjs for nodejs

  4. Then you can simply run:

    npm run eslint
    

Modifying rules

You can add rules specific to your project in the .eslintrc file that was created in the root of your project.

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @ww-digital/eslint-config

    Weekly Downloads

    141

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    3.45 kB

    Total Files

    6

    Last publish

    Collaborators

    • yulia.bugrova
    • vduenes
    • meshal.alhathal
    • rizwan.minhas
    • manmeetdhanesar
    • tejas2008
    • b3jminww
    • ianlowry
    • aneika11
    • emanr
    • tommy-ww
    • alexmaww
    • henryv-ww
    • abdelrahman.hussein
    • tobensg
    • motasem.salem
    • magriffith202
    • osukarieh
    • wwmahmoud98
    • wabdelkader
    • hannah.nguyen
    • abdalla.abukhadir
    • hutirawi
    • wwtbm
    • william.carlson
    • bushra-bilal
    • ridwankazi
    • matthew.cole.ww
    • ahmad.radwan
    • andriisievrikovww
    • mikatodd-ww
    • ww-bamboo-ci
    • cmx-devops
    • kivanc.gulbas
    • wine-devops
    • wwcoachtech
    • hsaimeh
    • binhey-ww
    • lmaali
    • najeebww
    • agustin.young.ww
    • ww-crm-team
    • ww-nate-lord
    • jacob.gardner
    • rjmohammad
    • wwcrmtravis
    • wwdckemble
    • thomas.deranek
    • ww_dpe
    • will123195
    • danzajork-ww
    • pinal.bhatt
    • dmt-ww
    • heyam.almahmoud
    • reydavidpa
    • gemisheresy
    • matismasters
    • cblair-ww
    • victmask-ww
    • emoninny
    • meninleo
    • jtolsma-ww
    • ms-ww
    • david.lu
    • kishore_reddy_ww
    • charlybutcher
    • hedyd
    • ashulman
    • apecson
    • dpetterson
    • inemtsov
    • blporter
    • songren
    • andrew.shulman
    • justin.longbottom
    • dattadixit
    • claire.li1997
    • phayman-ww
    • ikennaonyemekwu
    • prashant.manchandani
    • hinfan-ww
    • lnagle
    • oleksiitsulunww
    • znorcross
    • eilinora
    • robnolan-ww
    • ahmed-awadelkarim
    • ww-nikhil
    • maidul98
    • markgriffith202
    • sgrosmark
    • jefreybulla
    • ww-enterprise-integrations
    • ruth_ww
    • sangah.han
    • rachnovo
    • wwjjquizon
    • aseem.vyas
    • deena.alnakshabandy
    • olaomarharb
    • osama.abumousaww
    • abarham1
    • y-alaiwah
    • kathleen.yanolatos
    • franciscopantojag
    • omar.abuali
    • jorgeaguirre
    • a.khateeb
    • rosmary.fermin
    • trey-ww
    • michael-mittelman
    • oliviatian
    • jimmykuruvillaww
    • emma.stout
    • nery
    • carlosrenoj
    • notruthless
    • yunchen-ww