From c29bd1e56bcd087447592383adff3a4ab31a216b Mon Sep 17 00:00:00 2001 From: TonyRL Date: Fri, 13 May 2022 16:47:56 +0000 Subject: [PATCH] style: disable eslint on g_encrypt --- lib/v2/zhihu/execlib/g_encrypt.js | 6 ++++++ lib/v2/zhihu/execlib/jsencrypt.js | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/v2/zhihu/execlib/g_encrypt.js b/lib/v2/zhihu/execlib/g_encrypt.js index 5e2d924f0..9f7f301a0 100644 --- a/lib/v2/zhihu/execlib/g_encrypt.js +++ b/lib/v2/zhihu/execlib/g_encrypt.js @@ -1,3 +1,9 @@ +/* eslint-disable no-eval */ +/* eslint-disable block-scoped-var */ +/* eslint-disable no-var */ +/* eslint-disable eqeqeq */ +/* eslint-disable no-unused-vars */ +/* eslint-disable no-func-assign */ /** * Generate x-zse-96 * diff --git a/lib/v2/zhihu/execlib/jsencrypt.js b/lib/v2/zhihu/execlib/jsencrypt.js index 73bb6da24..23ccdace0 100644 --- a/lib/v2/zhihu/execlib/jsencrypt.js +++ b/lib/v2/zhihu/execlib/jsencrypt.js @@ -375,6 +375,5 @@ function G() { const b = function (e) { return __g._encrypt(encodeURIComponent(e)); }; -(exports.ENCRYPT_VERSION = A), (exports.default = b); module.exports = b;