eslint-plugin-kaizai
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -23,3 +23,3 @@ "use strict"; | ||
if (node.body.body && node.body.body[0].type === 'ReturnStatement') { | ||
if (!!node.returnType) { | ||
if (!node.returnType) { | ||
context.report({ | ||
@@ -26,0 +26,0 @@ loc: node.loc, |
{ | ||
"name": "eslint-plugin-kaizai", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -26,3 +26,3 @@ import { ESLintUtils, TSESTree } from "@typescript-eslint/experimental-utils"; | ||
if (node.body.body && node.body.body[0].type === 'ReturnStatement') { | ||
if (!!node.returnType) { | ||
if (!node.returnType) { | ||
context.report({ | ||
@@ -29,0 +29,0 @@ loc: node.loc, |
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
21314