style: fix code formatting inconsistencies
- Remove excessive blank lines (triple+ newlines reduced to double) - Fix EditorConfig indent_size from 4 to 2 spaces to match Prettier - Ensure consistent whitespace formatting across JavaScript/TypeScript files - Clean up formatting in templates (HBS files) Files affected: - src/apps/actor/base-sheet.js: Remove 6 instances of triple+ blank lines - src/apps/item-sheet.js: Remove 4 instances of triple+ blank lines - src/apps/ruler/token-ruler.js: Remove 1 instance of triple+ blank lines - src/hooks/hooks.ts: Remove 1 instance of triple+ blank lines - templates/sheets/actor/*.hbs: Remove excessive blank lines - .editorconfig: Fix indent_size to match Prettier tabWidth (2 spaces)
This commit is contained in:
parent
7fcdcf8a5c
commit
e021fedcdf
19 changed files with 113 additions and 124 deletions
|
@ -12,7 +12,6 @@ SPDX-License-Identifier: MIT
|
|||
{{> systems/ds4/templates/sheets/actor/components/creature-properties.hbs}}
|
||||
{{/systems/ds4/templates/sheets/actor/components/actor-header.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="ds4-sheet-tab-nav" data-group="primary">
|
||||
<a class="ds4-sheet-tab-nav__item" data-action="changeTab" data-tab="values">{{localize 'DS4.HeadingValues'}}</a>
|
||||
|
|
|
@ -9,7 +9,6 @@ SPDX-License-Identifier: MIT
|
|||
{{#> systems/ds4/templates/sheets/actor/components/actor-header.hbs}}
|
||||
{{/systems/ds4/templates/sheets/actor/components/actor-header.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="ds4-sheet-body">
|
||||
{{#if (eq data.type 'character')}}
|
||||
|
|
|
@ -40,10 +40,8 @@ titleKey=titleKey}}
|
|||
titleKey=titleKey}}
|
||||
{{/inline}}
|
||||
|
||||
|
||||
{{!-- ======================================================================== --}}
|
||||
|
||||
|
||||
<div class="ds4-sheet-tab tab spells" data-group="primary" data-tab="spells">
|
||||
{{#unless (isEmpty itemsByType.spell)}}
|
||||
<ol class="ds4-embedded-document-list ds4-embedded-document-list--spell item-list">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue