Add rules from eslint's recommended set that triggered good lints (#50422)

This commit is contained in:
Jake Bailey authored and GitHub committed 2022-09-19 16:20:55 -07:00
1 parent a11c41621b
commit 16156b1baf
34 files changed
+54 -48

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ function convertDocumentToMarkdown(doc: Word.Document): string {
function setProperties(target: any, properties: any) {
for (const name in properties) {
if (properties.hasOwnProperty(name)) {
if (Object.prototype.hasOwnProperty.call(properties, name)) {
const value = properties[name];
if (typeof value === "object") {
setProperties(target[name], value);