cleanup ignore lint errors: no-var-keyword, prefer-const

This commit is contained in:
segayuu
2017-11-07 12:29:53 +09:00
parent 47dd70182e
commit 92c323aadd
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ function promiseSuccess(text: string) {
return Promise.resolve(text);
}
var count = 0;
let count = 0;
function myfunc() {
console.log('myfunc called ' + (++count) + ' times');
if (count < 3) {
@@ -24,7 +24,7 @@ function logFail() {
throw new Error('bail');
}
var options: retry.Options = {
const options: retry.Options = {
max_tries: 4,
interval: 500
};
-2
View File
@@ -2,9 +2,7 @@
"extends": "dtslint/dt.json",
"rules": {
"no-reference-import": false,
"no-var-keyword": false,
"only-arrow-functions": false,
"prefer-const": false,
"prefer-template": false,
"strict-export-declare-modifiers": false
}