refactor: Lint for no unneeded backticks (#5057) (no-changelog)

*  Create rule `no-unneeded-backticks`

* 👕 Enable rule

*  Run rule on `cli`

*  Run rule on `core`

*  Run rule on `workflow`

*  Rule rule on `design-system`

*  Run rule on `node-dev`

*  Run rule on `editor-ui`

*  Run rule on `nodes-base`
This commit is contained in:
Iván Ovejero
2022-12-29 12:20:43 +01:00
committed by GitHub
parent a7868ae77d
commit d9b98fc8be
239 changed files with 772 additions and 714 deletions

View File

@@ -138,7 +138,7 @@ export class Raindrop implements INodeType {
body.tags = (additionalFields.tags as string).split(',').map((tag) => tag.trim());
}
const endpoint = `/raindrop`;
const endpoint = '/raindrop';
responseData = await raindropApiRequest.call(this, 'POST', endpoint, {}, body);
responseData = responseData.item;
} else if (operation === 'delete') {
@@ -243,7 +243,7 @@ export class Raindrop implements INodeType {
delete additionalFields.parentId;
}
responseData = await raindropApiRequest.call(this, 'POST', `/collection`, {}, body);
responseData = await raindropApiRequest.call(this, 'POST', '/collection', {}, body);
responseData = responseData.item;
} else if (operation === 'delete') {
// ----------------------------------
@@ -390,7 +390,7 @@ export class Raindrop implements INodeType {
// tag: delete
// ----------------------------------
let endpoint = `/tags`;
let endpoint = '/tags';
const body: IDataObject = {
tags: (this.getNodeParameter('tags', i) as string).split(','),
@@ -408,7 +408,7 @@ export class Raindrop implements INodeType {
// tag: getAll
// ----------------------------------
let endpoint = `/tags`;
let endpoint = '/tags';
const returnAll = this.getNodeParameter('returnAll', i);