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.10 to 1.0.11

26

Changes.md

@@ -1,30 +0,42 @@

# 1.0.10 - 2019-06-22
## 1.0.11 - 2019-07-09
* add brace-style rule
## 1.0.10 - 2019-06-22
* remove node 6 testing
# 1.0.9 - 2017-09-16
## 1.0.9 - 2017-09-16
* remove no-useless-escape rule
# 1.0.8 - 2017-09-13
## 1.0.8 - 2017-09-13
* import rules from haraka/Haraka
# 1.0.7 - 2017-06-16
## 1.0.7 - 2017-06-16
* Fixes the format of an eslint plugin. The "rules" section is for custom
rules (i.e. the code for defining the rules), not for enforced rules.
# 1.0.6 - 2017-06-15
## 1.0.6 - 2017-06-15
* eslint 4 enables no-useless-escape. Reduces error to warning until that rule
is less brain damaged.
# 1.0.5 - 2017-02-01
## 1.0.5 - 2017-02-01
* fixed missing comma at end of no-empty rule
* added "no-undef": 1 (warnings only)
# 1.0.3 - 2017-01-27
## 1.0.3 - 2017-01-27
* Updated rules from Haraka main repo

@@ -31,0 +43,0 @@ * renamed .eslintrc to .eslintrc.json

@@ -26,3 +26,4 @@ 'use strict';

"no-var": "error",
"object-shorthand": ["warning", "always"]
"object-shorthand": ["warn", "always"],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }]
};

@@ -29,0 +30,0 @@

{
"name": "eslint-plugin-haraka",
"version": "1.0.10",
"version": "1.0.11",
"description": "eslint rules for Haraka projects",

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

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

2. Install an eslint config file:
`tee .eslintrc.json <<EOLINT
```sh
tee .eslintrc.json <<EOLINT
{

@@ -25,11 +27,15 @@ "plugins": [

}
`
```
3. Add within the "scripts" section of `package.json`:
`
```json
"lint": "./node_modules/.bin/eslint *.js test/**/*.js"
"lintfix": "./node_modules/.bin/eslint --fix *.js test/**/*.js"
`
```
4. Add to the "script" section of .travis.yml:
`npm run lint`
`npm run lint`
## Usage

@@ -36,0 +42,0 @@

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