@putout/eslint
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -111,3 +111,3 @@ 'use strict'; | ||
if (node === node.parent?.body?.[0].expression) | ||
if (node === node.parent?.body?.[0]?.expression) | ||
return ''; | ||
@@ -121,3 +121,3 @@ | ||
}; | ||
module.exports.createGetSpaceBeforeNode = createGetSpacesBeforeNode; | ||
module.exports.createGetSpacesBeforeNode = createGetSpacesBeforeNode; | ||
@@ -124,0 +124,0 @@ const createGetSpacesAfterNode = ({getText}) => (node, text = getText(node)) => { |
{ | ||
"name": "@putout/eslint", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
18062