@putout/eslint
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -111,2 +111,5 @@ 'use strict'; | ||
if (node === node.parent?.body?.[0].expression) | ||
return ''; | ||
while (!spaces || /^[ \n]+$/.test(spaces)) | ||
@@ -113,0 +116,0 @@ spaces = getText(node, ++i) |
{ | ||
"name": "@putout/eslint", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
@@ -16,3 +16,3 @@ # @putout/eslint [![NPM version][NPMIMGURL]][NPMURL] | ||
## Environemnt Variables | ||
## Environment Variables | ||
@@ -23,4 +23,3 @@ - ☝️ To set custom config file for **ESLint** use `ESLINT_CONFIG_FILE` env variable: | ||
```sh | ||
````sh | ||
NO_ESLINT_WARNINGS=1 putout --fix lib | ||
@@ -36,3 +35,3 @@ | ||
import eslint from '@putout/eslint'; | ||
``` | ||
```` | ||
@@ -39,0 +38,0 @@ To use it simply write: |
17745
322
194