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

eslint-plugin-hapi

Package Overview
Dependencies
Maintainers
1
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.0.0 to 1.1.0

4

lib/index.js
'use strict';
var HapiCapitalizeModules = require('hapi-capitalize-modules');
var HapiScopeStart = require('hapi-scope-start');
module.exports = {
rules: {
'hapi-capitalize-modules': HapiCapitalizeModules,
'hapi-scope-start': HapiScopeStart
}
};
{
"name": "eslint-plugin-hapi",
"version": "1.0.0",
"version": "1.1.0",
"description": "ESLint plugin containing hapi style guide rules",
"main": "index.js",
"main": "lib/index.js",
"scripts": {

@@ -25,2 +25,3 @@ "test": "node node_modules/.bin/lab -v -t 100 -a code"

"dependencies": {
"hapi-capitalize-modules": "1.x.x",
"hapi-scope-start": "1.x.x"

@@ -27,0 +28,0 @@ },

'use strict';
var Code = require('code');
var Lab = require('lab');
var Plugin = require('../');
var Plugin = require('../lib');

@@ -21,4 +20,5 @@ var lab = exports.lab = Lab.script();

expect(rules.length).to.equal(1);
expect(rules).to.deep.equal(['hapi-scope-start']);
expect(rules.length).to.equal(2);
expect(rules.indexOf('hapi-capitalize-modules')).to.not.equal(-1);
expect(rules.indexOf('hapi-scope-start')).to.not.equal(-1);

@@ -25,0 +25,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