eslint-plugin-flowtype
Advanced tools
Comparing version 5.8.0 to 5.8.1
@@ -35,3 +35,5 @@ "use strict"; | ||
if (spacesBefore) { | ||
if (sourceCode.text[opener.range[1]] !== '\n') { | ||
const whiteSpaceBefore = sourceCode.text[opener.range[1]]; | ||
if (whiteSpaceBefore !== '\n' && whiteSpaceBefore !== '\r') { | ||
context.report({ | ||
@@ -49,3 +51,5 @@ data: { | ||
if (spacesAfter) { | ||
if (sourceCode.text[closer.range[0] - 1] !== '\n') { | ||
const whiteSpaceAfter = sourceCode.text[closer.range[0] - 1]; | ||
if (whiteSpaceAfter !== '\n' && whiteSpaceAfter !== '\r') { | ||
context.report({ | ||
@@ -52,0 +56,0 @@ data: { |
@@ -67,3 +67,3 @@ { | ||
}, | ||
"version": "5.8.0" | ||
"version": "5.8.1" | ||
} |
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
313002
4009