@@ -250,7 +250,7 @@ export class SettingsApp extends AppWithConfig<State> {
250250 ` ;
251251
252252 const autolinkTemplate = ( index : number , autolink ?: AutolinkReference , isNew = false , renderHelp = true ) => `
253- <div class="setting${ isNew ? ' hidden" data-region="autolink' : '' } ">
253+ <div class="setting${ isNew ? ' hidden" data-region="autolink' : '' } ">
254254 <div class="setting__group">
255255 <div class="setting__input setting__input--short setting__input--with-actions">
256256 <label for="autolinks.${ index } .prefix">Prefix</label>
@@ -260,7 +260,7 @@ export class SettingsApp extends AppWithConfig<State> {
260260 placeholder="TICKET-"
261261 data-setting
262262 data-setting-type="arrayObject"
263- ${ autolink ?. prefix ? `value="${ encodeURIComponent ( autolink . prefix ) } "` : '' }
263+ ${ autolink ?. prefix ? `value="${ encodeURIComponent ( autolink . prefix ) } "` : '' }
264264 >
265265 <div class="setting__input-actions">
266266 <div class="toggle-button">
@@ -271,7 +271,7 @@ export class SettingsApp extends AppWithConfig<State> {
271271 class="toggle-button__control"
272272 data-setting
273273 data-setting-type="arrayObject"
274- ${ autolink ?. ignoreCase ? 'checked' : '' }
274+ ${ autolink ?. ignoreCase ? 'checked' : '' }
275275 >
276276 <label class="toggle-button__label" for="autolinks.${ index } .ignoreCase" title="Case-sensitive" aria-label="Case-sensitive">Aa</label>
277277 </div>
@@ -283,7 +283,7 @@ export class SettingsApp extends AppWithConfig<State> {
283283 class="toggle-button__control"
284284 data-setting
285285 data-setting-type="arrayObject"
286- ${ autolink ?. alphanumeric ? 'checked' : '' }
286+ ${ autolink ?. alphanumeric ? 'checked' : '' }
287287 >
288288 <label class="toggle-button__label" for="autolinks.${ index } .alphanumeric" title="Alphanumeric" aria-label="Alphanumeric">a1</label>
289289 </div>
@@ -298,9 +298,11 @@ export class SettingsApp extends AppWithConfig<State> {
298298 placeholder="https://example.com/TICKET?q=<num>"
299299 data-setting
300300 data-setting-type="arrayObject"
301- ${ autolink ?. url ? `value="${ encodeURIComponent ( autolink . url ) } "` : '' }
301+ ${ autolink ?. url ? `value="${ encodeURIComponent ( autolink . url ) } "` : '' }
302302 >
303- ${ isNew ? `
303+ ${
304+ isNew
305+ ? `
304306 <button
305307 class="button button--compact button--flat-subtle"
306308 type="button"
@@ -310,7 +312,8 @@ export class SettingsApp extends AppWithConfig<State> {
310312 title="Delete"
311313 aria-label="Delete"
312314 ><i class="codicon codicon-close"></i></button>
313- ` : `
315+ `
316+ : `
314317 <button
315318 id="autolinks.${ index } .delete"
316319 name="autolinks.${ index } .delete"
@@ -321,10 +324,11 @@ export class SettingsApp extends AppWithConfig<State> {
321324 title="Delete"
322325 aria-label="Delete"
323326 ><i class="codicon codicon-close"></i></button>
324- ` }
327+ `
328+ }
325329 </div>
326330 </div>
327- ${ renderHelp && isNew ? helpTemplate ( ) : '' }
331+ ${ renderHelp && isNew ? helpTemplate ( ) : '' }
328332 </div>
329333 ` ;
330334
@@ -337,7 +341,7 @@ export class SettingsApp extends AppWithConfig<State> {
337341 fragment . push ( autolinkTemplate ( this . state . config . autolinks ?. length ?? 0 , undefined , true , ! autolinks ) ) ;
338342
339343 if ( autolinks ) {
340- fragment . push ( helpTemplate ( ) ) ;
344+ fragment . push ( helpTemplate ( ) ) ;
341345 }
342346
343347 $root . innerHTML = fragment . join ( '' ) ;
0 commit comments