mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
cleanup ignore lint errors: no-var-keyword, prefer-const
This commit is contained in:
@@ -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,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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user