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 1.2.2 to 2.0.0

2

lib/index.js
'use strict';
var HapiCapitalizeModules = require('hapi-capitalize-modules');
var HapiScopeStart = require('hapi-scope-start');
var NoArrowception = require('no-arrowception');
var NoShadowRelaxed = require('no-shadow-relaxed');

@@ -11,4 +12,5 @@

'hapi-scope-start': HapiScopeStart,
'no-arrowception': NoArrowception,
'no-shadow-relaxed': NoShadowRelaxed
}
};

5

package.json
{
"name": "eslint-plugin-hapi",
"version": "1.2.2",
"version": "2.0.0",
"description": "ESLint plugin containing hapi style guide rules",

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

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

@@ -30,0 +31,0 @@ },

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

![Dependencies](http://img.shields.io/david/continuationlabs/eslint-plugin-hapi.svg)
![devDependencies](http://img.shields.io/david/dev/continuationlabs/eslint-plugin-hapi.svg)

@@ -9,0 +8,0 @@ ESLint plugin containing hapi style guide rules. This plugin includes the following ESLint rules:

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

expect(rules.length).to.equal(3);
expect(rules.length).to.equal(4);
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);

@@ -25,0 +26,0 @@

Sorry, the diff of this file is not supported yet

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