@putout/eslint
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -37,3 +37,3 @@ 'use strict'; | ||
filename, | ||
}); | ||
}, options); | ||
@@ -40,0 +40,0 @@ if (!result) |
@@ -58,2 +58,3 @@ 'use strict'; | ||
]; | ||
return [code, places]; | ||
@@ -71,2 +72,3 @@ } | ||
]; | ||
return [code, places]; | ||
@@ -76,5 +78,5 @@ } | ||
!putout && disablePutout(finalConfig); | ||
// that's right, we disabled "putout" rules in "config" | ||
// and now it located in eslint's cache | ||
const results = await eslint.lintText(code, { | ||
@@ -81,0 +83,0 @@ filePath: name, |
@@ -50,6 +50,3 @@ 'use strict'; | ||
return [ | ||
output, | ||
messages.map(convertToPlace), | ||
]; | ||
return [output, messages.map(convertToPlace)]; | ||
}; |
{ | ||
"name": "@putout/eslint", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"type": "commonjs", | ||
@@ -43,3 +43,3 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"eslint": "^8.0.1", | ||
"eslint-plugin-n": "^15.2.4", | ||
"eslint-plugin-n": "^16.0.0", | ||
"eslint-plugin-putout": "^17.0.0", | ||
@@ -46,0 +46,0 @@ "just-camel-case": "^4.0.2", |
18282
345