feature(settings)!: make settings configuration a JavaScript module

The settings configuration is now a JavaScript module because dynamic
configuration is only possible in this way and dynamic settings
configuration is needed for the language as a setting.
This commit is contained in:
2026-08-06 23:52:29 +02:00
parent 8f44609702
commit 3dd9eded41
7 changed files with 51 additions and 35 deletions
@@ -22,7 +22,7 @@ import { beforeEach, describe, expect, test, vi } from 'vitest';
const settingDefaultValue = vi.hoisted(() => 42);
const settingPath = ['test', 'number'];
vi.mock('../../settings.json', () => ({
vi.mock('../../config.js', () => ({
default: {
contents: [
{