Browse code

Remove a linter-rule

Manuel Thalmann authored on 26/04/2018 18:42:10
Showing 2 changed files
... ...
@@ -50,27 +50,6 @@ class WSCPackageGenerator extends Generator
50 50
     }
51 51
 
52 52
     /**
53
-     * Validates whether a file stored in a different folder is provided.
54
-     * 
55
-     * @param {string} value
56
-     * The value that is to be validated.
57
-     * 
58
-     * @param {Generator.Answers} answers
59
-     * The answers provided by the user.
60
-     */
61
-    private enforceSameFolder = (value: string, answers?: Generator.Answers): boolean | string =>
62
-    {
63
-        if (Path.dirname(value) === ".")
64
-        {
65
-            return true;
66
-        }
67
-        else
68
-        {
69
-            return "Subfolders are not allowed!";
70
-        }
71
-    }
72
-
73
-    /**
74 53
      * Validates whether the a value is provided.
75 54
      * 
76 55
      * @param {string} value
... ...
@@ -6,8 +6,7 @@
6 6
         "lib": [
7 7
             "es7"
8 8
         ],
9
-        "noUnusedLocals": true,
10
-        "noUnusedParameters": true
9
+        "noUnusedLocals": true
11 10
     },
12 11
     "exclude": [
13 12
         "node_modules",