refactor(core): Update rule typescript-eslint/no-unused-vars to not error when variable starts with _ (#4523)
* ⚡ rule and fixes * ⚡ clean up
This commit is contained in:
@@ -165,8 +165,8 @@ export class JotFormTrigger implements INodeType {
|
||||
|
||||
const form = new formidable.IncomingForm({});
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
form.parse(req, async (err, data, files) => {
|
||||
return new Promise((resolve, _reject) => {
|
||||
form.parse(req, async (err, data, _files) => {
|
||||
// tslint:disable-next-line:no-any
|
||||
const rawRequest = jsonParse<any>(data.rawRequest as string);
|
||||
data.rawRequest = rawRequest;
|
||||
|
||||
Reference in New Issue
Block a user