Skip to content

Commit

Permalink
Reenable no-prototype-builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
samwho committed Mar 20, 2024
1 parent ab83403 commit efd4496
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
},
"rules": {
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"local-rules/no-budibase-imports": "error"
}
},
Expand All @@ -60,7 +59,6 @@
},
"rules": {
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"local-rules/no-test-com": "error",
"local-rules/email-domain-example-com": "error",
"no-console": "warn",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/integrations/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function copyExistingPropsOver(

const existingTableSchema = entities[tableName].schema
for (let key in existingTableSchema) {
if (!existingTableSchema.hasOwnProperty(key)) {
if (!Object.prototype.hasOwnProperty.call(existingTableSchema, key)) {
continue
}
const column = existingTableSchema[key]
Expand Down

0 comments on commit efd4496

Please sign in to comment.