eslint-plugin-github
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -8,8 +8,9 @@ module.exports = function(context) { | ||
if (ruleId !== 'no-unused-disabled-rules') { | ||
if (typeof location === 'string') { | ||
location = node.loc.start | ||
var loc = location | ||
if (typeof loc === 'string') { | ||
loc = node.loc.start | ||
} | ||
location = location.start || location | ||
loc = loc.start || loc | ||
const lineno = location.line | ||
const lineno = loc.line | ||
reported.add(`*:*`) | ||
@@ -16,0 +17,0 @@ reported.add(`*:${ruleId}`) |
{ | ||
"name": "eslint-plugin-github", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
635
21718