riot-web/test/utils
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
..
permalinks Fix another freeze on room switch (#7900) 2022-02-25 19:48:35 +00:00
validate Chat export parameter customisation (#7647) 2022-01-31 12:54:14 +01:00
AnimationUtils-test.ts
DateUtils-test.ts Fix a couple relative date tests (#7184) 2021-11-23 11:29:23 -07:00
FixedRollingArray-test.ts
MegolmExportEncryption-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
ShieldUtils-test.js
Singleflight-test.ts
SnakedObject-test.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
arrays-test.ts Clean up some unit test logs (#7857) 2022-02-21 16:57:44 +00:00
enums-test.ts
export-test.tsx Use redaction enum event type rather than hardcoded string (#8071) 2022-03-17 18:38:29 +01:00
generate-megolm-test-vectors.py
iterables-test.ts Fix naming of set-theory utils to match convention (#7343) 2021-12-13 10:57:51 +00:00
maps-test.ts
numbers-test.ts
objects-test.ts
sets-test.ts
stringOrderField-test.ts