eslint-plugin-haraka
Advanced tools
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, | ||
} | ||
} | ||
} |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4480
32
0
7