element-web/test
Travis Ralston d8a939df5d
Use & enforce snake_case naming convention on config.json settings (#8062)
* Document and support the established naming convention for config opts

This change:
* Rename `ConfigOptions` to `IConfigOptions` to match code convention/style, plus move it to a dedicated file
* Update comments and surrounding documentation
* Define every single documented option (from element-web's config.md)
* Enable a linter to enforce the convention
* Invent a translation layer for a different change to use
* No attempt to fix build errors from doing this (at this stage)

* Add demo of lint rule in action

* Fix all obvious instances of SdkConfig case conflicts

* Fix tests to use SdkConfig directly

* Add docs to make unset() calling safer

* Appease the linter

* Update documentation to match snake_case_config

* Fix more instances of square brackets off SdkConfig
2022-03-18 10:12:36 -06:00
..
accessibility Keybinding code unification #6 (#8042) 2022-03-14 13:25:51 +00:00
audio dont re-prepare voice messages (#7897) 2022-03-01 09:43:32 +01:00
autocomplete Auto-fix lint errors 2021-06-29 13:11:58 +01:00
components Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
editor Improve formatting features in the editor (#7104) 2022-03-16 09:46:07 +00:00
end-to-end-tests Fix logging in end-to-end tests (#8028) 2022-03-11 10:00:22 -07:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test fallback properly with pluralized strings (#7495) 2022-01-10 14:54:57 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
notifications Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
settings/watchers Unit tests for getEffectiveTheme (#7051) 2021-10-29 09:11:55 +01:00
stores kill beacons on expiry (#8075) 2022-03-18 14:38:41 +01:00
test-utils Live beacons: track users live beacons (#8061) 2022-03-16 17:35:09 +01:00
utils Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
.eslintrc.js Migrate to eslint-plugin-matrix-org 2021-06-29 12:51:13 +01:00
CallHandler-test.ts Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
createRoom-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
DecryptionFailureTracker-test.js Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
DeviceListener-test.ts Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
globalSetup.js Fix TimeZone to be UTC in Jest tests (#7082) 2021-11-04 10:39:49 +00:00
KeyBindingsManager-test.ts Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
languageHandler-test.ts Add support for overriding strings in the app (#7886) 2022-03-01 11:53:09 -07:00
linkify-matrix-test.ts Upgrade linkifyjs to fix schemes as domain prefixes (#7628) 2022-01-25 17:37:54 +00:00
Markdown-test.ts Fix formatting not being applied after links (#7990) 2022-03-08 13:12:36 +00:00
minimal-sdk.js Fix right panel data flow (#7811) 2022-02-16 11:19:28 +00:00
PosthogAnalytics-test.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
RoomNotifs-test.ts Fix wrongly asserting that PushRule::conditions is non-null (#7973) 2022-03-04 09:39:16 +00:00
ScalarAuthClient-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
setupTests.js Check 'useSystemTheme' in quick settings theme switcher (#7809) 2022-02-24 10:01:06 +01:00
skinned-sdk.js Add configuration to disable relative date markers in timeline (#7405) 2021-12-21 10:08:22 +01:00
Terms-test.js Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
TextForEvent-test.ts Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
UserActivity-test.js Auto fix 2021-10-22 17:23:37 -05:00