refactor: Phase out TSLint in nodes-base (no-changelog) (#4798)
* 🔥 Remove TSLint scripts * 🔥 Remove TSLint config * 🔥 Remove TSLint exceptions * 👕 Adjust lint config * ✏️ Add story numbers
This commit is contained in:
@@ -25,7 +25,7 @@ export interface IMembershipDto {
|
||||
|
||||
export interface ITagDto {
|
||||
id: string;
|
||||
name: any; // tslint:disable-line:no-any
|
||||
name: any;
|
||||
workspaceId: string;
|
||||
archived: boolean;
|
||||
}
|
||||
@@ -34,7 +34,7 @@ export interface ITaskDto {
|
||||
assigneeIds: object;
|
||||
estimate: string;
|
||||
id: string;
|
||||
name: any; // tslint:disable-line:no-any
|
||||
name: any;
|
||||
workspaceId: string;
|
||||
projectId: string;
|
||||
'is-active': boolean;
|
||||
|
||||
@@ -8,12 +8,11 @@ export async function clockifyApiRequest(
|
||||
this: ILoadOptionsFunctions | IPollFunctions | IExecuteFunctions,
|
||||
method: string,
|
||||
resource: string,
|
||||
// tslint:disable-next-line:no-any
|
||||
|
||||
body: any = {},
|
||||
qs: IDataObject = {},
|
||||
uri?: string,
|
||||
_option: IDataObject = {},
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
const BASE_URL = 'https://api.clockify.me/api/v1';
|
||||
|
||||
@@ -35,10 +34,9 @@ export async function clockifyApiRequestAllItems(
|
||||
this: IExecuteFunctions | IPollFunctions | ILoadOptionsFunctions,
|
||||
method: string,
|
||||
endpoint: string,
|
||||
// tslint:disable-next-line:no-any
|
||||
|
||||
body: any = {},
|
||||
query: IDataObject = {},
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user