mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798)
This commit is contained in:
@@ -52,7 +52,7 @@ const AsyncFunction = (async () => {}).constructor as FunctionConstructor;
|
||||
|
||||
const fnConstructors = {
|
||||
sync: Function.prototype.constructor,
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
|
||||
async: AsyncFunction.prototype.constructor,
|
||||
mock: () => {
|
||||
throw new ExpressionError('Arbitrary code execution detected');
|
||||
@@ -130,7 +130,7 @@ export class Expression {
|
||||
// Is an expression
|
||||
|
||||
// Remove the equal sign
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
|
||||
parameterValue = parameterValue.substr(1);
|
||||
|
||||
// Generate a data proxy which allows to query workflow data
|
||||
@@ -573,7 +573,7 @@ export class Expression {
|
||||
|
||||
// Data is an object
|
||||
const returnData: INodeParameters = {};
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
|
||||
for (const [key, value] of Object.entries(parameterValue)) {
|
||||
returnData[key] = resolveParameterValue(
|
||||
value as NodeParameterValueType,
|
||||
|
||||
Reference in New Issue
Block a user