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

@@ -1860,7 +1860,7 @@ export class Asana implements INodeType {
// Get all users to display them to user so that they can be selected easily
// See: https://developers.asana.com/docs/get-multiple-users
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
const endpoint = `/users`;
const endpoint = '/users';
const responseData = await asanaApiRequest.call(this, 'GET', endpoint, {});
if (responseData.data === undefined) {
@@ -2026,7 +2026,7 @@ export class Asana implements INodeType {
const returnAll = this.getNodeParameter('returnAll', i);
requestMethod = 'GET';
endpoint = `/tasks`;
endpoint = '/tasks';
Object.assign(qs, filters);
@@ -2335,7 +2335,7 @@ export class Asana implements INodeType {
const returnAll = this.getNodeParameter('returnAll', i);
requestMethod = 'GET';
endpoint = `/projects`;
endpoint = '/projects';
if (additionalFields.team) {
qs.team = additionalFields.team;