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

eslint-plugin-hapi

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-hapi - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

4

lib/index.js

@@ -5,3 +5,2 @@ 'use strict';

var NoArrowception = require('no-arrowception');
var NoShadowRelaxed = require('no-shadow-relaxed');

@@ -13,5 +12,4 @@

'hapi-scope-start': HapiScopeStart,
'no-arrowception': NoArrowception,
'no-shadow-relaxed': NoShadowRelaxed
'no-arrowception': NoArrowception
}
};
{
"name": "eslint-plugin-hapi",
"version": "2.0.0",
"version": "3.0.0",
"description": "ESLint plugin containing hapi style guide rules",

@@ -28,4 +28,3 @@ "author": "Continuation Labs <contact@continuation.io> (http://continuation.io/)",

"hapi-scope-start": "2.x.x",
"no-arrowception": "1.x.x",
"no-shadow-relaxed": "1.x.x"
"no-arrowception": "1.x.x"
},

@@ -32,0 +31,0 @@ "devDependencies": {

@@ -11,2 +11,3 @@ # eslint-plugin-hapi

- [`hapi-scope-start`](https://www.npmjs.com/package/hapi-scope-start) - Enforces a new line at the beginning of function scope.
- [`no-arrowception`](https://www.npmjs.com/package/no-arrowception) - Prevents arrow functions that implicitly create additional arrow functions.
- [`no-shadow-relaxed`](https://www.npmjs.com/package/no-shadow-relaxed) - Extension of ESLint's native `no-shadow` rule that allows certain variable names to be ignored.

@@ -20,7 +20,6 @@ 'use strict';

expect(rules.length).to.equal(4);
expect(rules.length).to.equal(3);
expect(rules.indexOf('hapi-capitalize-modules')).to.not.equal(-1);
expect(rules.indexOf('hapi-scope-start')).to.not.equal(-1);
expect(rules.indexOf('no-arrowception')).to.not.equal(-1);
expect(rules.indexOf('no-shadow-relaxed')).to.not.equal(-1);

@@ -27,0 +26,0 @@ for (var i = 0; i < rules.length; ++i) {

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