eslint-plugin-unicorn
Advanced tools
Comparing version 6.0.0 to 6.0.1
{ | ||
"name": "eslint-plugin-unicorn", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Various awesome ESLint rules", | ||
@@ -17,4 +17,3 @@ "license": "MIT", | ||
"test": "nyc ava", | ||
"integration": "./test/integration/test.js", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls" | ||
"integration": "./test/integration/test.js" | ||
}, | ||
@@ -21,0 +20,0 @@ "files": [ |
@@ -88,2 +88,8 @@ 'use strict'; | ||
CatchClause: node => { | ||
// Optional catch binding | ||
if (!node || !node.param) { | ||
push(true); | ||
return; | ||
} | ||
if (node.param.name === '_') { | ||
@@ -90,0 +96,0 @@ push(!astUtils.someContainIdentifier('_', node.body.body)); |
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
55713
1554