Pārlūkot izejas kodu

added rule prefer const to tslint (#13071)

Patrick O'Carroll 7 gadi atpakaļ
vecāks
revīzija
0dc8949352
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      tslint.json

+ 1 - 0
tslint.json

@@ -42,6 +42,7 @@
       "check-catch",
       "check-else"
     ],
+    "prefer-const": true,
     "radix": false,
     "typedef-whitespace": [true, {
       "call-signature": "nospace",