From 1a8c4bfebc7af12d7acf230818dd1ab5969cdfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20W=C3=B3jcik?= Date: Sat, 13 Sep 2025 09:05:29 +0200 Subject: [PATCH] BTHLABS-0000: `eslint.config.js` fixes and code cleanup --- services/backend/eslint.config.js | 3 +-- .../static/ui/js/hotpocket-backend.ui.InlineCreateSaveForm.js | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/services/backend/eslint.config.js b/services/backend/eslint.config.js index 65559f2..451f7e6 100644 --- a/services/backend/eslint.config.js +++ b/services/backend/eslint.config.js @@ -7,7 +7,7 @@ export default defineConfig([ { files: [ 'eslint.config.js', - 'hotpocket_backend/apps/ui/static/ui/js/hotpocket.*.js', + 'hotpocket_backend/apps/ui/static/ui/js/hotpocket-backend.*.js', ], plugins: { js, @@ -66,7 +66,6 @@ export default defineConfig([ }, { ignores: [ - 'hotpocket_backend/apps/**/static/**/*.js', 'hotpocket_backend/static/**/*.js', ], }, diff --git a/services/backend/hotpocket_backend/apps/ui/static/ui/js/hotpocket-backend.ui.InlineCreateSaveForm.js b/services/backend/hotpocket_backend/apps/ui/static/ui/js/hotpocket-backend.ui.InlineCreateSaveForm.js index 10304c9..7e35241 100644 --- a/services/backend/hotpocket_backend/apps/ui/static/ui/js/hotpocket-backend.ui.InlineCreateSaveForm.js +++ b/services/backend/hotpocket_backend/apps/ui/static/ui/js/hotpocket-backend.ui.InlineCreateSaveForm.js @@ -23,7 +23,6 @@ this.form = null; } onLoad = (event) => { - console.log('UI.InlineCreateSaveForm.onLoad()', event); this.element = document.getElementById('InlineCreateSaveForm'); this.buttonTrigger = this.element.querySelector('.ui-inline-create-save-form-trigger'); this.buttonClose = this.element.querySelector('.ui-inline-create-save-form-close');