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
@@ -78,4 +78,4 @@ const setColorScheme = function setColorScheme (newColorScheme) {
.color-scheme-button:hover {
background: var(--light-hover);
}
</style>
</style>
+1 -1
View File
@@ -103,4 +103,4 @@ const copyrightPeriod =
margin-top: 0.8em;
}
}
</style>
</style>
@@ -163,4 +163,4 @@ const open = function () {
.flag {
font-size: 1.1rem;
}
</style>
</style>
@@ -84,4 +84,4 @@ describe('LanguageSwitchButton', () => {
wrapper.unmount();
externalDiv.remove();
});
});
});
+1 -1
View File
@@ -17,4 +17,4 @@ limitations under the License.
export const getNavigatorLanguage = function getNavigatorLanguage () {
const locale = new Intl.Locale(navigator.language);
return locale.language;
};
};
+1 -1
View File
@@ -51,4 +51,4 @@ const size = computed(() => ensureUnit(props.size))
align-items: center;
filter: var(--invert);
}
</style>
</style>
@@ -40,4 +40,4 @@ watch(() => route.query.q, q => {
v-model="searchQueryModel"
auto-submit
/>
</template>
</template>
+1 -1
View File
@@ -114,4 +114,4 @@ const submitSearch = function () {
.search-form {
width: 100%;
}
</style>
</style>
@@ -94,4 +94,4 @@ const { t } = useI18n();
transform: scale(1);
}
}
</style>
</style>
@@ -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;
});
});
+1 -1
View File
@@ -74,4 +74,4 @@ const toggleSidebar = function toggleSidebar () {
padding: 20px;
padding-top: 0;
}
</style>
</style>
@@ -38,4 +38,4 @@ const click = function click (event) {
padding: 4px;
border-radius: 10px;
}
</style>
</style>