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

@@ -66,7 +66,6 @@ export function hexToRgb(hex: string) {
// Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
const shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
hex = hex.replace(shorthandRegex, (m, r, g, b) => {
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
return r + r + g + g + b + b;
});