Socket
Book a DemoInstallSign in
Socket

@instaffogmbh/eslint-config-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instaffogmbh/eslint-config-nodejs

Code with style

latest
Source
npmnpm
Version
1.2.8
Version published
Maintainers
1
Created
Source

@instaffogmbh/eslint-config-nodejs

Code with style

  • 📣 💼 💰 Looking for a tech job? Try our reverse recruiting service.

Usage

  • npm install --save-dev @instaffogmbh/eslint-config-nodejs

  • In your module's package.json, add

      "eslintConfig": { "extends": "@instaffogmbh/eslint-config-nodejs" },
      "scripts": {
        "justlint": "instaffo-lint-nodejs",
        "lint": "instaffo-lint-nodejs --fix",
      },
    
  • 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

FAQs

Package last updated on 05 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts