sanex3339 пре 8 година
родитељ
комит
9328df225d
3 измењених фајлова са 10 додато и 10 уклоњено
  1. 3 2
      dist/index.js
  2. 0 1
      src/node-obfuscators/LiteralObfuscator.ts
  3. 7 7
      tslint.json

+ 3 - 2
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";

+ 0 - 1
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(<string>literalNode.value);

+ 7 - 7
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,