eslint-plugin-unicorn
Advanced tools
Comparing version 8.0.1 to 8.0.2
{ | ||
"name": "eslint-plugin-unicorn", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "Various awesome ESLint rules", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -171,3 +171,3 @@ 'use strict'; | ||
const nodeText = sourceCode.getText(node); | ||
const {line} = sourceCode.getLocFromIndex(node.start); | ||
const {line} = sourceCode.getLocFromIndex(node.range[0]); | ||
const lineText = sourceCode.lines[line - 1]; | ||
@@ -174,0 +174,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
108937