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

@@ -157,7 +157,7 @@ export class FormIoTrigger implements INodeType {
const method = this.getNodeParameter('events') as string[];
const payload = {
data: {
name: `webhook`,
name: 'webhook',
title: `webhook-n8n:${webhookUrl}`,
method,
handler: ['after'],

View File

@@ -38,7 +38,7 @@ async function getToken(
return responseObject.headers['x-jwt-token'];
} catch (error) {
throw new Error(
`Authentication Failed for Form.io. Please provide valid credentails/ endpoint details`,
'Authentication Failed for Form.io. Please provide valid credentails/ endpoint details',
);
}
}