eslint-plugin-no-secrets
Advanced tools
Comparing version 0.6.8 to 0.7.9
@@ -57,3 +57,3 @@ const { | ||
const sourceCode = context.getSourceCode(); | ||
const comments = sourceCode.getAllComments(); | ||
const allPatterns = Object.assign({}, STANDARD_PATTERNS, additionalRegexes); | ||
@@ -116,2 +116,6 @@ const allDelimiters = additionalDelimiters.concat([" "]); | ||
//Check all comments | ||
const comments = sourceCode.getAllComments(); | ||
comments.forEach(comment => checkString(comment.value,comment)); | ||
return { | ||
@@ -118,0 +122,0 @@ Literal(node) { |
{ | ||
"name": "eslint-plugin-no-secrets", | ||
"version": "0.6.8", | ||
"version": "0.7.9", | ||
"description": "An eslint rule that searches for potential secrets/keys in code", | ||
@@ -26,2 +26,3 @@ "main": "index.js", | ||
"eslint6": "npm:eslint@^6.8.0", | ||
"eslint7": "npm:eslint@^7.0.0", | ||
"mocha": "^7.1.1" | ||
@@ -28,0 +29,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
19064
7
301
4