eslint-plugin-testing-library
Advanced tools
Comparing version 5.6.2 to 5.6.3
{ | ||
"name": "eslint-plugin-testing-library", | ||
"version": "5.6.2", | ||
"version": "5.6.3", | ||
"description": "ESLint rules for Testing Library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -69,2 +69,6 @@ "use strict"; | ||
const fileNameWithExtension = (_a = splitPath.pop()) !== null && _a !== void 0 ? _a : ''; | ||
if (fileNameWithExtension.includes('[') || | ||
fileNameWithExtension.includes(']')) { | ||
return { fileName: undefined }; | ||
} | ||
const parent = splitPath.pop(); | ||
@@ -71,0 +75,0 @@ const fileName = fileNameWithExtension.split('.').shift(); |
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
233242
4132