eslint-plugin-hapi
Advanced tools
Comparing version 4.0.0 to 4.1.0
'use strict'; | ||
var HapiCapitalizeModules = require('hapi-capitalize-modules'); | ||
var HapiForYou = require('hapi-for-you'); | ||
var HapiNoVar = require('hapi-no-var'); | ||
var HapiScopeStart = require('hapi-scope-start'); | ||
@@ -12,2 +13,3 @@ var NoArrowception = require('no-arrowception'); | ||
'hapi-for-you': HapiForYou, | ||
'hapi-no-var': HapiNoVar, | ||
'hapi-scope-start': HapiScopeStart, | ||
@@ -14,0 +16,0 @@ 'no-arrowception': NoArrowception |
{ | ||
"name": "eslint-plugin-hapi", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "ESLint plugin containing hapi style guide rules", | ||
@@ -28,2 +28,3 @@ "author": "Continuation Labs <contact@continuation.io> (http://continuation.io/)", | ||
"hapi-for-you": "1.x.x", | ||
"hapi-no-var": "1.x.x", | ||
"hapi-scope-start": "2.x.x", | ||
@@ -33,6 +34,6 @@ "no-arrowception": "1.x.x" | ||
"devDependencies": { | ||
"belly-button": "1.x.x", | ||
"code": "1.x.x", | ||
"lab": "6.x.x" | ||
"belly-button": "4.x.x", | ||
"code": "4.x.x", | ||
"lab": "14.x.x" | ||
} | ||
} |
@@ -20,14 +20,10 @@ 'use strict'; | ||
expect(rules.length).to.equal(4); | ||
expect(rules.length).to.equal(5); | ||
expect(rules.indexOf('hapi-capitalize-modules')).to.not.equal(-1); | ||
expect(rules.indexOf('hapi-for-you')).to.not.equal(-1); | ||
expect(rules.indexOf('hapi-no-var')).to.not.equal(-1); | ||
expect(rules.indexOf('hapi-scope-start')).to.not.equal(-1); | ||
expect(rules.indexOf('no-arrowception')).to.not.equal(-1); | ||
for (var i = 0; i < rules.length; ++i) { | ||
expect(Plugin.rules[rules[i]]).to.be.a.function(); | ||
} | ||
done(); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
eslint-plugin-jest |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5039
5
1
+ Addedhapi-no-var@1.x.x
+ Addedhapi-no-var@1.0.1(transitive)