eslint-plugin-node
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -24,3 +24,3 @@ /** | ||
var cache = new Cache(); | ||
var TAIL_SLASH = /\/+$/; | ||
var SLASH_AT_BEGIN_END = /(?:^\/+|\/+$)/g; | ||
var PARENT_RELATIVE_PATH = /^\.\./; | ||
@@ -111,4 +111,5 @@ var NEVER_IGNORED = /^(?:readme\.[^\.]*|(?:licen[cs]e|changes|changelog|history)(?:\.[^\.]*)?)$/i; | ||
if (typeof file === "string") { | ||
file = "/" + file.replace(SLASH_AT_BEGIN_END, ""); | ||
ignore.addPattern("!" + file); | ||
ignore.addPattern("!" + file.replace(TAIL_SLASH, "") + "/**"); | ||
ignore.addPattern("!" + file + "/**"); | ||
} | ||
@@ -115,0 +116,0 @@ } |
{ | ||
"name": "eslint-plugin-node", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -17,6 +17,7 @@ "files": [ | ||
"test:mocha": "istanbul cover node_modules/mocha/bin/_mocha -- tests/lib/**/*.js --reporter progress", | ||
"coveralls": "cat coverage/lcov.info | coveralls" | ||
"coveralls": "cat coverage/lcov.info | coveralls", | ||
"travis-test-with-eslint-next": "rimraf node_modules && npm i -g npm@3 && npm i && npm i eslint@next && npm i && npm run test:mocha && npm run coveralls" | ||
}, | ||
"peerDependencies": { | ||
"eslint": ">=1.10.3" | ||
"eslint": ">=1.10.3 || 2.0.0-alpha-1 || 2.0.0-alpha-2 || 2.0.0-beta.1 || 2.0.0-beta.2 || 2.0.0-beta.3" | ||
}, | ||
@@ -38,2 +39,3 @@ "dependencies": { | ||
"rimraf": "^2.4.4", | ||
"semver": "^5.1.0", | ||
"shelljs": "^0.5.3" | ||
@@ -40,0 +42,0 @@ }, |
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
79856
2289
10