Преглед изворни кода

added rule prefer const to tslint (#13071)

Patrick O'Carroll пре 7 година
родитељ
комит
0dc8949352
1 измењених фајлова са 1 додато и 0 уклоњено
  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",