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

@@ -225,7 +225,7 @@ export class FreshworksCrm implements INodeType {
const response = (await freshworksCrmApiRequest.call(
this,
'GET',
`/selector/owners`,
'/selector/owners',
)) as FreshworksConfigResponse<LoadedUser>;
const key = Object.keys(response)[0];

View File

@@ -190,5 +190,5 @@ export function throwOnEmptyUpdate(this: IExecuteFunctions, resource: string) {
}
export function throwOnEmptyFilter(this: IExecuteFunctions) {
throw new NodeOperationError(this.getNode(), `Please select at least one filter.`);
throw new NodeOperationError(this.getNode(), 'Please select at least one filter.');
}

View File

@@ -217,7 +217,8 @@ export const searchFields: INodeProperties[] = [
},
],
// eslint-disable-next-line n8n-nodes-base/node-param-description-unneeded-backticks
description: `Use 'entities' to query against related entities. You can include multiple entities at once, provided the field is available in both entities or else you'd receive an error response.`,
description:
"Use 'entities' to query against related entities. You can include multiple entities at once, provided the field is available in both entities or else you'd receive an error response.",
},
],
},