eslint-plugin-hapi
Advanced tools
Comparing version 1.0.0 to 1.1.0
'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) { |
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
4006
32
2
7
+ Addedhapi-capitalize-modules@1.1.6(transitive)