ci: Stop disabling linting rules that are explicitly set to warn (no-changelog) (#7669)
This commit is contained in:
committed by
GitHub
parent
ad596abeb9
commit
5edf722209
@@ -114,7 +114,6 @@ test('should have logwriter log messages', async () => {
|
||||
});
|
||||
await eventBus.send(testMessage);
|
||||
await new Promise((resolve) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
eventBus.logWriter.worker?.once('message', async (msg: { command: string; data: any }) => {
|
||||
expect(msg.command).toBe('appendMessageToLog');
|
||||
expect(msg.data).toBe(true);
|
||||
|
||||
@@ -103,7 +103,6 @@ export async function truncate(collections: CollectionName[]) {
|
||||
if (typeof collection === 'string') {
|
||||
await Db.collections[collection].delete({});
|
||||
} else {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
await Container.get(collection as { new (): Repository<any> }).delete({});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +72,6 @@ describe('GET /workflow-history/:workflowId', () => {
|
||||
),
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const last = versions.sort((a, b) => b.createdAt.valueOf() - a.createdAt.valueOf())[0]! as any;
|
||||
delete last.nodes;
|
||||
delete last.connections;
|
||||
@@ -101,7 +100,6 @@ describe('GET /workflow-history/:workflowId', () => {
|
||||
new Array(10).fill(undefined).map(async (_) => createWorkflowHistoryItem(workflow2.id)),
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const last = versions.sort((a, b) => b.createdAt.valueOf() - a.createdAt.valueOf())[0]! as any;
|
||||
delete last.nodes;
|
||||
delete last.connections;
|
||||
@@ -125,7 +123,6 @@ describe('GET /workflow-history/:workflowId', () => {
|
||||
),
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const last = versions.sort((a, b) => b.createdAt.valueOf() - a.createdAt.valueOf())[0]! as any;
|
||||
delete last.nodes;
|
||||
delete last.connections;
|
||||
@@ -149,7 +146,6 @@ describe('GET /workflow-history/:workflowId', () => {
|
||||
),
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const last = versions.sort((a, b) => b.createdAt.valueOf() - a.createdAt.valueOf())[5]! as any;
|
||||
delete last.nodes;
|
||||
delete last.connections;
|
||||
|
||||
@@ -24,7 +24,6 @@ function toIRun(item?: object) {
|
||||
}
|
||||
|
||||
function getDataId(run: IRun, kind: 'binary' | 'json') {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
return run.data.resultData.runData.myNode[0].data.main[0][0][kind].data.id;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,6 @@ describe('cacheService', () => {
|
||||
};
|
||||
}
|
||||
// second mock for our code
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
return function (...args: any) {
|
||||
return new Redis(args);
|
||||
};
|
||||
|
||||
@@ -46,7 +46,6 @@ describe('Orchestration Service', () => {
|
||||
};
|
||||
}
|
||||
// second mock for our code
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
return function (...args: any) {
|
||||
return new Redis(args);
|
||||
};
|
||||
|
||||
@@ -27,7 +27,6 @@ describe('RedisService', () => {
|
||||
};
|
||||
}
|
||||
// second mock for our code
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
return function (...args: any) {
|
||||
return new Redis(args);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user