@instaffogmbh/eslint-config-nodejs

1.2.8 • Public • Published

@instaffogmbh/eslint-config-nodejs

Code with style

Usage

  1. npm install --save-dev @instaffogmbh/eslint-config-nodejs

  2. In your module's package.json, add

      "eslintConfig": { "extends": "@instaffogmbh/eslint-config-nodejs" },
      "scripts": {
        "justlint": "instaffo-lint-nodejs",
        "lint": "instaffo-lint-nodejs --fix",
      },
  3. npm run lint

Caveats

  • If you manually clone this package, actually install it. (At least on 2018-03-19 in Ubuntu Xenial, it seemed to require its own local eslint package.)
  • If you use v1.0.x linter commands with v^1.1.0, it will complain: Explicitly decide whether to use the simplified CLI! See README.md at …. We recommend to update your linter commands to the current ones. If that's not applicable, point your rules config to rules.js to get just the rules with no update checks.

 

License

MIT

/@instaffogmbh/eslint-config-nodejs/

    Package Sidebar

    Install

    npm i @instaffogmbh/eslint-config-nodejs

    Weekly Downloads

    12

    Version

    1.2.8

    License

    MIT

    Unpacked Size

    13.6 kB

    Total Files

    18

    Last publish

    Collaborators

    • bhanu.pv
    • instaffo