Wondering what’s next for npm?Check out our public roadmap! »

    @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.

    Install

    npm i @ww-digital/eslint-config

    DownloadsWeekly Downloads

    193

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    3.45 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar