style: ensure newlines at the end of each file

This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent f4f8993e87
commit 7ae4fb9a3f
68 changed files with 68 additions and 68 deletions
@@ -122,4 +122,4 @@ const labelId = useId();
.option-input:checked + .option-check-mark-wrapper .option-check-mark {
visibility: visible;
}
</style>
</style>
@@ -16,4 +16,4 @@
.settings-button:hover {
background-color: var(--light-hover);
}
}
@@ -212,4 +212,4 @@ const apply = function apply () {
}
}
}
</style>
</style>
@@ -90,4 +90,4 @@ const props = defineProps({
.section-heading[aria-level="4"] {
--size: 1.4em;
}
</style>
</style>
@@ -58,4 +58,4 @@ const followLink = function followLink () {
align-items: center;
justify-content: space-between;
}
</style>
</style>
+1 -1
View File
@@ -106,4 +106,4 @@ const toggle = function toggle () {
.switch-wrapper.enabled .switch-point {
margin-left: var(--point-size);
}
</style>
</style>
@@ -290,4 +290,4 @@ describe('Selection', () => {
const label = wrapper.find('.label');
expect(label.text()).toBe(translation);
});
});
});
@@ -207,4 +207,4 @@ describe('SettingsInput', () => {
const label = wrapper.find('label');
expect(label.text()).toBe(translation);
});
});
});
@@ -157,4 +157,4 @@ describe('SettingsPage', () => {
}
});
});
});
});
@@ -56,4 +56,4 @@ describe('SettingsPageLink', () => {
expect(goToSettingsPage).toHaveBeenCalledWith(target);
});
});
});
@@ -122,4 +122,4 @@ describe('Switch', () => {
const label = wrapper.find('label');
expect(label.text()).toBe(translation);
});
});
});
@@ -37,4 +37,4 @@ describe('useSettingsPage', () => {
});
});
});
});
});
@@ -30,4 +30,4 @@ export const useSettingsPage = function useSettingsPage () {
};
return { goToSettingsPage };
};
};
@@ -39,4 +39,4 @@ export const useSettingsStore = defineStore('settings', () => {
return { set, get, remove, clear, settings };
}, {
persist: true
});
});
@@ -62,4 +62,4 @@ limitations under the License.
* @typedef {BoolSettingConfig | NumberSettingConfig | StringSettingConfig | SelectionSettingConfig | SectionSettingConfig} SettingConfigEntry
* @typedef {{ contents: SettingConfigEntry[] }} FirstLevelSettingConfigEntry
* @typedef {{ contents: FirstLevelSettingConfigEntry[] }} SettingsConfig
*/
*/
@@ -523,4 +523,4 @@ test.for([
({ settings: veryNestedSettingsList, path: ['1b', '2b', '3b', '4ba', '5b', '6b', '7a'], expected: undefined })
])('returns $expected', ({ settings, path, expected }) => {
expect(getSettingRecursively(path, settings)).toStrictEqual(expected);
});
});
@@ -60,4 +60,4 @@ describe('settingsPage', () => {
expect(getSettingsPagePathSegments(path)).toStrictEqual(expected);
});
})
})
})
@@ -810,4 +810,4 @@ describe('settingsValidator', () => {
expect(() => assertString(value)).throws(Error);
});
});
});
});
+1 -1
View File
@@ -39,4 +39,4 @@ export const getSettingRecursively = function getSettingRecursively (sectionPath
};
};
return oneSettingsLevel(sectionPath, { content: settings });
};
};
+1 -1
View File
@@ -28,4 +28,4 @@ export const getSettingsPagePathSegments = function getSettingsPagePathSegments
(segment) => segment.replace(/[^a-zA-Z0-9-]/g, '')
)
.filter(Boolean);
};
};
@@ -126,4 +126,4 @@ export function validateSettingsConfig(raw) {
raw.contents.forEach((entry, i) =>
validateFirstLevelSection(entry, `contents[${i}]`)
);
}
}
+1 -1
View File
@@ -137,4 +137,4 @@ const toggleSidebarIfSmallScreen = function toggleSidebarIfSmallScreen (toggleSi
padding: 0;
}
}
</style>
</style>
@@ -279,4 +279,4 @@ describe('SettingsView', () => {
beforeEach(() => {
currentSection = originalCurrentSection;
});
});