diff --git a/dist/index.js b/dist/index.js index 56ab9c84..a305abdd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -88,7 +88,7 @@ module.exports = /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 80); +/******/ return __webpack_require__(__webpack_require__.s = 81); /******/ }) /************************************************************************/ /******/ ([ @@ -3915,7 +3915,8 @@ module.exports = require("fs"); module.exports = require("mkdirp"); /***/ }, -/* 80 */ +/* 80 */, +/* 81 */ /***/ function(module, exports, __webpack_require__) { "use strict"; diff --git a/src/node-obfuscators/LiteralObfuscator.ts b/src/node-obfuscators/LiteralObfuscator.ts index 8a89ecda..900b5680 100644 --- a/src/node-obfuscators/LiteralObfuscator.ts +++ b/src/node-obfuscators/LiteralObfuscator.ts @@ -32,7 +32,6 @@ export class LiteralObfuscator extends AbstractNodeObfuscator { break; - case 'string': content = new StringLiteralReplacer(this.nodes, this.options) .replace(literalNode.value); diff --git a/tslint.json b/tslint.json index 7fe6e36f..ae1eda38 100644 --- a/tslint.json +++ b/tslint.json @@ -43,8 +43,8 @@ "no-any": false, "no-arg": true, "no-bitwise": true, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, + "no-conditional-assignment": true, + "no-consecutive-blank-lines": true, "no-console": [ true, "debug", @@ -63,14 +63,14 @@ "no-eval": false, "no-inferrable-types": false, "no-internal-module": true, - "no-invalid-this": false, + "no-invalid-this": true, "no-null-keyword": false, - "no-reference": false, + "no-reference": true, "no-require-imports": false, - "no-shadowed-variable": false, - "no-string-literal": false, + "no-shadowed-variable": true, + "no-string-literal": true, "no-switch-case-fall-through": false, - "no-trailing-whitespace": false, + "no-trailing-whitespace": true, "no-unreachable": true, "no-unused-expression": true, "no-unused-variable": true,