From a84658a0205f0a79c81c3ffd42fa33721d75b5c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Mon, 22 Apr 2024 21:44:40 +0200 Subject: [PATCH] just ignore the rules for now --- docs/fundamentals/systems/form/assets/h-output.js | 4 +++- packages/ui/components/helpers/src/SbActionLogger.js | 6 ++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/fundamentals/systems/form/assets/h-output.js b/docs/fundamentals/systems/form/assets/h-output.js index f3ed041a1..2f84a76a5 100644 --- a/docs/fundamentals/systems/form/assets/h-output.js +++ b/docs/fundamentals/systems/form/assets/h-output.js @@ -128,7 +128,9 @@ export class HelperOutput extends LitElement { return html`${resultText}`; } - connectedCallback() { + constructor() { + super(); + // eslint-disable-next-line wc/no-constructor-attributes this.title = 'States'; } diff --git a/packages/ui/components/helpers/src/SbActionLogger.js b/packages/ui/components/helpers/src/SbActionLogger.js index 8b5fd0feb..e29e5e0d7 100644 --- a/packages/ui/components/helpers/src/SbActionLogger.js +++ b/packages/ui/components/helpers/src/SbActionLogger.js @@ -126,12 +126,10 @@ export class SbActionLogger extends LitElement { constructor() { super(); - this.__logCounter = 0; - } - - connectedCallback() { + // eslint-disable-next-line wc/no-constructor-attributes this.title = 'Action Logger'; this.simple = false; + this.__logCounter = 0; } get loggerEl() {