mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 19:59:02 +08:00
Fix remaining lint errors (#19166)
This commit is contained in:
@@ -148,7 +148,7 @@ function makeApiCall() {
|
||||
}).then((resp) => {
|
||||
const p = document.createElement('p');
|
||||
const name = resp.result.names[0].givenName;
|
||||
p.appendChild(document.createTextNode('Hello, ' + name + '!'));
|
||||
p.appendChild(document.createTextNode(`Hello, ${name}!`));
|
||||
document.getElementById('content').appendChild(p);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
"rules": {
|
||||
"indent": {
|
||||
"options": [true, "spaces", 2]
|
||||
}
|
||||
},
|
||||
// TODO
|
||||
"no-mergeable-namespace": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user