eslint-plugin-hapi
Advanced tools
Comparing version 3.0.0 to 4.0.0
'use strict'; | ||
var HapiCapitalizeModules = require('hapi-capitalize-modules'); | ||
var HapiForYou = require('hapi-for-you'); | ||
var HapiScopeStart = require('hapi-scope-start'); | ||
@@ -10,2 +11,3 @@ var NoArrowception = require('no-arrowception'); | ||
'hapi-capitalize-modules': HapiCapitalizeModules, | ||
'hapi-for-you': HapiForYou, | ||
'hapi-scope-start': HapiScopeStart, | ||
@@ -12,0 +14,0 @@ 'no-arrowception': NoArrowception |
{ | ||
"name": "eslint-plugin-hapi", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "ESLint plugin containing hapi style guide rules", | ||
@@ -27,2 +27,3 @@ "author": "Continuation Labs <contact@continuation.io> (http://continuation.io/)", | ||
"hapi-capitalize-modules": "1.x.x", | ||
"hapi-for-you": "1.x.x", | ||
"hapi-scope-start": "2.x.x", | ||
@@ -29,0 +30,0 @@ "no-arrowception": "1.x.x" |
@@ -10,4 +10,4 @@ # eslint-plugin-hapi | ||
- [`hapi-capitalize-modules`](https://www.npmjs.com/package/hapi-capitalize-modules) - Enforces capitalization of imported module variables. | ||
- [`hapi-for-you`](https://www.npmjs.com/package/hapi-for-you) - Enforces `for` loop iterator variable rules and restricts loop nesting depth. | ||
- [`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,4 +20,5 @@ '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-for-you')).to.not.equal(-1); | ||
expect(rules.indexOf('hapi-scope-start')).to.not.equal(-1); | ||
@@ -24,0 +25,0 @@ expect(rules.indexOf('no-arrowception')).to.not.equal(-1); |
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
5046
38
4
+ Addedhapi-for-you@1.x.x
+ Addedhapi-for-you@1.0.0(transitive)