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

@@ -163,7 +163,7 @@ export class GoogleCalendar implements INodeType {
responseData = await googleApiRequest.call(
this,
'POST',
`/calendar/v3/freeBusy`,
'/calendar/v3/freeBusy',
body,
{},
);
@@ -287,7 +287,7 @@ export class GoogleCalendar implements INodeType {
if (additionalFields.repeatHowManyTimes && additionalFields.repeatUntil) {
throw new NodeOperationError(
this.getNode(),
`You can set either 'Repeat How Many Times' or 'Repeat Until' but not both`,
"You can set either 'Repeat How Many Times' or 'Repeat Until' but not both",
{ itemIndex: i },
);
}
@@ -544,7 +544,7 @@ export class GoogleCalendar implements INodeType {
if (updateFields.repeatHowManyTimes && updateFields.repeatUntil) {
throw new NodeOperationError(
this.getNode(),
`You can set either 'Repeat How Many Times' or 'Repeat Until' but not both`,
"You can set either 'Repeat How Many Times' or 'Repeat Until' but not both",
{ itemIndex: i },
);
}