@putout/eslint
Advanced tools
Comparing version
@@ -21,2 +21,3 @@ 'use strict'; | ||
const text = getText(node); | ||
const path = { | ||
@@ -23,0 +24,0 @@ text, |
@@ -22,2 +22,5 @@ 'use strict'; | ||
if (!config) | ||
return true; | ||
return !keys(config.rules).length; | ||
@@ -74,4 +77,5 @@ }; | ||
// that's right, we disabled "putout" rules in "config" | ||
// and now it located in eslint's cache | ||
!putout && disablePutout(finalConfig); | ||
// that's right, we disabled "putout" rules in "config" // and now it located in eslint's cache | ||
@@ -78,0 +82,0 @@ const results = await eslint.lintText(code, { |
{ | ||
"name": "@putout/eslint", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"type": "commonjs", | ||
@@ -41,5 +41,5 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"@putout/plugin-eslint-plugin": "*", | ||
"c8": "^8.0.0", | ||
"eslint": "^9.0.0-alpha.0", | ||
"eslint-plugin-n": "^16.0.0", | ||
"c8": "^9.0.0", | ||
"eslint": "^9.0.0", | ||
"eslint-plugin-n": "^17.0.0", | ||
"eslint-plugin-putout": "^22.0.0", | ||
@@ -53,3 +53,3 @@ "just-camel-case": "^4.0.2", | ||
"putout": "*", | ||
"supertape": "^9.0.0", | ||
"supertape": "^10.0.0", | ||
"try-catch": "^3.0.0" | ||
@@ -56,0 +56,0 @@ }, |
Sorry, the diff of this file is not supported yet
18900
4.32%354
6.95%