mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798)
This commit is contained in:
@@ -131,13 +131,7 @@ export function assert<T>(condition: T, msg?: string): asserts condition {
|
||||
}
|
||||
|
||||
export const isTraversableObject = (value: any): value is JsonObject => {
|
||||
return (
|
||||
value &&
|
||||
typeof value === 'object' &&
|
||||
!Array.isArray(value) &&
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
||||
!!Object.keys(value).length
|
||||
);
|
||||
return value && typeof value === 'object' && !Array.isArray(value) && !!Object.keys(value).length;
|
||||
};
|
||||
|
||||
export const removeCircularRefs = (obj: JsonObject, seen = new Set()) => {
|
||||
|
||||
Reference in New Issue
Block a user