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.13 to 1.0.14

7

Changes.md
## 1.0.14 - 2021-02-03
* CI travis -> Github Actions
* dep eslint >= 7 (was 6)
* ecmaVersion 2017 -> 2018
## 1.0.13 - 2019-11-22

@@ -3,0 +10,0 @@

8

index.js

@@ -31,7 +31,5 @@ 'use strict';

// This is really here so we know how this "rules" section is used in the future
// - If you want to enable this rule you can by adding: `"haraka/no-newline-no-curly-if": 2` to
// your module's list of rules.
// The rule in case you're curious prevents: `if (bool)\n do_thing()` and forces if()s with
// no curly to be on a single line.
// This is here so we know how this "rules" section is used in the future
// - You can enable this rule by adding: `"haraka/no-newline-no-curly-if": 2` to your module's list of rules.
// The rule prevents: `if (bool)\n do_thing()` and forces if()s with no curly to be on a single line.
const rules = {

@@ -38,0 +36,0 @@ "no-newline-no-curly-if": require('./rules/no-newline-no-curly-if'),

{
"name": "eslint-plugin-haraka",
"version": "1.0.13",
"version": "1.0.14",
"description": "eslint rules for Haraka projects",

@@ -26,4 +26,4 @@ "main": "index.js",

"devDependencies": {
"eslint": ">=6"
"eslint": ">=7"
}
}

@@ -6,5 +6,3 @@ # haraka-eslint

[![Code Climate][clim-img]][clim-url]
[![Greenkeeper badge][gk-img]][gk-url]
[![NPM][npm-img]][npm-url]
<!--[![Code Coverage][cov-img]][cov-url]-->

@@ -17,12 +15,10 @@ ## Install

`npm install --save-dev eslint eslint-plugin-haraka`
2. Install an eslint config file:
```sh
tee .eslintrc.json <<EOLINT
{
"plugins": [
"haraka"
],
"extends": ["eslint:recommended", "plugin:haraka/recommended"],
}
tee .eslintrc.yaml <<EOLINT
plugins: [ haraka ]
extends: [ eslint:recommended, plugin:haraka/recommended ]
EOLINT
```

@@ -33,4 +29,4 @@

```json
"lint": "./node_modules/.bin/eslint *.js test/**/*.js"
"lintfix": "./node_modules/.bin/eslint --fix *.js test/**/*.js"
"lint": "npx eslint *.js test/*.js"
"lintfix": "npx eslint --fix *.js test/*.js"
```

@@ -60,9 +56,5 @@

[ci-win-url]: https://ci.appveyor.com/project/msimerson/haraka-eslint
[cov-img]: https://codecov.io/github/haraka/haraka-eslint/coverage.svg
[cov-url]: https://codecov.io/github/haraka/haraka-eslint
[clim-img]: https://codeclimate.com/github/haraka/haraka-eslint/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/haraka-eslint
[gk-img]: https://badges.greenkeeper.io/haraka/haraka-eslint.svg
[gk-url]: https://greenkeeper.io/
[npm-img]: https://nodei.co/npm/eslint-plugin-haraka.png
[npm-url]: https://www.npmjs.com/package/eslint-plugin-haraka
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