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 nodes-base (no-changelog) (#6812)
* refactor: Clear unused ESLint directives from nodes-base (no-changelog) * removed unused disable directives --------- Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
@@ -1108,7 +1108,6 @@ export class EditImage implements INodeType {
|
||||
const operator = operationData.operator as string;
|
||||
|
||||
const geometryString =
|
||||
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
||||
(positionX >= 0 ? '+' : '') + positionX + (positionY >= 0 ? '+' : '') + positionY;
|
||||
|
||||
const binaryPropertyName = operationData.dataPropertyNameComposite as string;
|
||||
@@ -1284,7 +1283,6 @@ export class EditImage implements INodeType {
|
||||
const fileName = newItem.binary![dataPropertyName].fileName;
|
||||
if (fileName?.includes('.')) {
|
||||
newItem.binary![dataPropertyName].fileName =
|
||||
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
||||
fileName.split('.').slice(0, -1).join('.') + '.' + options.format;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user