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

eslint-plugin-haraka

Package Overview
Dependencies
Maintainers
4
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.15 to 1.0.16

CHANGELOG.md

9

index.js

@@ -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 @@ };

12

package.json
{
"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

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