eslint-plugin-unicorn
Advanced tools
Comparing version 48.0.0 to 48.0.1
{ | ||
"name": "eslint-plugin-unicorn", | ||
"version": "48.0.0", | ||
"version": "48.0.1", | ||
"description": "More than 100 powerful ESLint rules", | ||
@@ -70,3 +70,3 @@ "license": "MIT", | ||
"@lubien/fixture-beta-package": "^1.0.0-beta.1", | ||
"@typescript-eslint/parser": "^5.61.0", | ||
"@typescript-eslint/parser": "^6.2.0", | ||
"ava": "^3.15.0", | ||
@@ -73,0 +73,0 @@ "c8": "^8.0.0", |
@@ -9,3 +9,3 @@ 'use strict'; | ||
const isDirective = node => node.type === 'ExpressionStatement' && 'directive' in node; | ||
const isDirective = node => node.type === 'ExpressionStatement' && typeof node.directive === 'string'; | ||
const isEmpty = node => isEmptyNode(node, isDirective); | ||
@@ -12,0 +12,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
593722