chore: enable lint cleanup rules (#4673)
## Summary Enable small cleanup rules for redundant boolean expressions, object ownership checks, assignments, and object construction. The existing call sites now use the simpler equivalent forms, keeping future code consistent without changing behavior. Base: [#4672](https://github.com/triggerdotdev/trigger.dev/pull/4672)
This commit is contained in:
@@ -142,7 +142,7 @@ async function main() {
|
||||
? {
|
||||
tls: {
|
||||
// If connecting via localhost tunnel to a remote Redis, disable cert verification
|
||||
rejectUnauthorized: redisReadUrlObj.hostname === "localhost" ? false : true,
|
||||
rejectUnauthorized: redisReadUrlObj.hostname !== "localhost",
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
@@ -165,7 +165,7 @@ async function main() {
|
||||
? {
|
||||
tls: {
|
||||
// If connecting via localhost tunnel to a remote Redis, disable cert verification
|
||||
rejectUnauthorized: redisWriteUrlObj.hostname === "localhost" ? false : true,
|
||||
rejectUnauthorized: redisWriteUrlObj.hostname !== "localhost",
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
|
||||
Reference in New Issue
Block a user