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:
Iván Ovejero
2023-08-01 15:32:33 +02:00
committed by GitHub
parent 52aafe0737
commit 24ce141815
85 changed files with 44 additions and 110 deletions

View File

@@ -7,7 +7,7 @@ const extractFunctions: {
} = {
attribute: ($: Cheerio, valueData: IValueData): string | undefined =>
$.attr(valueData.attribute!),
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
html: ($: Cheerio, _valueData: IValueData): string | undefined => $.html() || undefined,
text: ($: Cheerio, _valueData: IValueData): string | undefined => $.text(),
value: ($: Cheerio, _valueData: IValueData): string | undefined => $.val(),