Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-haraka

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-haraka

eslint rules for Haraka projects

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
288
decreased by-49.65%
Maintainers
2
Weekly downloads
 
Created
Source

haraka-eslint

eslint rules for Haraka projects

Install

In your Haraka plugin:

  1. Add to NPM dependencies: npm install --save-dev eslint eslint-plugin-haraka
  2. Install an eslint config file: tee .eslintrc.json <<EOLINT { "plugins": [ "haraka" ], "extends": ["eslint:recommended", "plugin:haraka/recommended"], }
  3. Add within the "scripts" section of package.json: "lint": "./node_modules/.bin/eslint *.js test/**/*.js" "lintfix": "./node_modules/.bin/eslint --fix *.js test/**/*.js"
  4. Add to the "script" section of .travis.yml: npm run lint

Usage

To check your project against lint rules:

npm run lint

Step #4 above does this automatically when Travis is set up.

If you agree with the lint suggestions, you can run npm run lintfix and the changes will be made to your files automatically.

If you disagree, you can add custom rules to your .eslintrc.json file.

Keywords

FAQs

Package last updated on 16 Jun 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc