From abe33a831fd262bd4062b22b30216ef01bbc01b3 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Thu, 23 Dec 2021 01:32:59 +0100 Subject: [PATCH] Fix lint errors --- .../retrospring/features/settings/index.ts | 2 +- app/views/settings/_muted.haml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/javascript/retrospring/features/settings/index.ts b/app/javascript/retrospring/features/settings/index.ts index e885ca11..3aa64226 100644 --- a/app/javascript/retrospring/features/settings/index.ts +++ b/app/javascript/retrospring/features/settings/index.ts @@ -8,7 +8,7 @@ export default (): void => { rulesList.querySelectorAll('.form-group:not(.js-initalized)').forEach(entry => { const button = entry.querySelector('button') button.onclick = createDeleteEvent(entry, button) - }) + }); const textEntry: HTMLButtonElement = document.getElementById('new-rule-text') as HTMLButtonElement; const template: HTMLTemplateElement = document.getElementById('rule-template') as HTMLTemplateElement; diff --git a/app/views/settings/_muted.haml b/app/views/settings/_muted.haml index 2d1cab73..2fea6e29 100644 --- a/app/views/settings/_muted.haml +++ b/app/views/settings/_muted.haml @@ -7,18 +7,18 @@ - @rules.each do |rule| .form-group .input-group - %input.form-control{disabled: true, value: rule.muted_phrase} + %input.form-control{ disabled: true, value: rule.muted_phrase } .input-group-append - %button.btn.btn-danger{type: 'button', data: {id: rule.id}} Remove + %button.btn.btn-danger{ type: 'button', data: { id: rule.id } } Remove .form-group %form .input-group - %input.form-control#new-rule-text{placeholder: 'Add a new muted word...'} + %input.form-control#new-rule-text{ placeholder: 'Add a new muted word...' } .input-group-append - %button.btn.btn-primary#new-rule-submit{type: 'submit'} Add + %button.btn.btn-primary#new-rule-submit{ type: 'submit' } Add %template#rule-template .form-group .input-group - %input.form-control{disabled: true} + %input.form-control{ disabled: true } .input-group-append - %button.btn.btn-danger{type: 'button'} Remove \ No newline at end of file + %button.btn.btn-danger{ type: 'button' } Remove