eslint-plugin-haraka
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -8,11 +8,4 @@ 'use strict'; | ||
const recommendedRules = { | ||
"comma-dangle": ["error", "only-multiline"], | ||
"dot-notation": "error", | ||
"indent": ["error", 4, {"SwitchCase": 1}], | ||
"one-var": ["error", "never"], | ||
"no-trailing-spaces": ["error", { "skipBlankLines": false }], | ||
"keyword-spacing": ["error", { | ||
"before": true, | ||
"after": true | ||
}], | ||
"no-empty": ["error", { "allowEmptyCatch": true }], | ||
@@ -22,3 +15,2 @@ "no-shadow": "error", | ||
"no-unused-vars": [ "warn", { "args": "none" }], | ||
"space-before-function-paren": ["error", { "anonymous": "always", "named": "always" }], | ||
"no-console": "off", | ||
@@ -31,3 +23,2 @@ "no-path-concat": "error", | ||
"object-shorthand": ["warn", "always"], | ||
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }], | ||
"prefer-template": "warn" | ||
@@ -34,0 +25,0 @@ }; |
{ | ||
"name": "eslint-plugin-haraka", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "eslint rules for Haraka projects", | ||
"main": "index.js", | ||
"files": [ | ||
"CHANGELOG.md", "rules" | ||
], | ||
"scripts": { | ||
"test": "npx eslint *.js" | ||
"lint": "npx eslint@^8 *.js", | ||
"test": "node index.js" | ||
}, | ||
@@ -25,5 +29,3 @@ "repository": { | ||
"homepage": "https://github.com/haraka/haraka-eslint#readme", | ||
"devDependencies": { | ||
"eslint": ">=8" | ||
} | ||
"devDependencies": { } | ||
} |
@@ -27,7 +27,7 @@ # haraka-eslint | ||
```json | ||
"lint": "npx eslint *.js test/*.js" | ||
"lintfix": "npx eslint --fix *.js test/*.js" | ||
"lint": "npx eslint *.js test" | ||
"lintfix": "npx eslint --fix *.js test" | ||
``` | ||
4. Add to the "script" section of .travis.yml: | ||
4. Within your CI workflow: | ||
@@ -50,4 +50,4 @@ `npm run lint` | ||
<!-- leave these buried at the bottom of the document --> | ||
[ci-img]: https://github.com/haraka/haraka-eslint/actions/workflows/ci-test.yml/badge.svg | ||
[ci-url]: https://github.com/haraka/haraka-eslint/actions/workflows/ci-test.yml | ||
[ci-img]: https://github.com/haraka/haraka-eslint/actions/workflows/ci.yml/badge.svg | ||
[ci-url]: https://github.com/haraka/haraka-eslint/actions/workflows/ci.yml | ||
[clim-img]: https://codeclimate.com/github/haraka/haraka-eslint/badges/gpa.svg | ||
@@ -54,0 +54,0 @@ [clim-url]: https://codeclimate.com/github/haraka/haraka-eslint |
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
7300
0
0
6
67