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 - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

36

index.js
var fs = require('fs');
module.exports = JSON.parse(fs.readFileSync('.eslintrc.json'));
var requiredRules = {
"comma-dangle": [2, "only-multiline"],
"dot-notation": 2,
"indent": [2, 4, {"SwitchCase": 1}],
"one-var": [2, "never"],
"no-trailing-spaces": [2, { "skipBlankLines": false }],
"keyword-spacing": [2, {
"before": true,
"after": true
}],
"no-delete-var": 2,
"no-empty": 1,
"no-label-var": 2,
"no-shadow": 2,
"no-unused-vars": [ 1, { "args": "none" }],
"space-before-function-paren": [2, { "anonymous": "always", "named": "always" }]
};
// they might not always be the same...
var recommendedRules = requiredRules;
JSON.parse(fs.readFileSync('.eslintrc.json'));
module.exports = {
rules: requiredRules,
configs: {
recommended: {
"env": {
"node": true,
"es6": true
},
rules: recommendedRules,
}
}
}

2

package.json
{
"name": "eslint-plugin-haraka",
"version": "1.0.3",
"version": "1.0.4",
"description": "eslint rules for Haraka projects",

@@ -5,0 +5,0 @@ "main": "index.js",

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