element-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 Add some tests 2021-07-09 16:45:04 +02:00
arrays-test.ts Clean up some unit test logs (#7857) 2022-02-21 16:57:44 +00:00
DateUtils-test.ts Fix a couple relative date tests (#7184) 2021-11-23 11:29:23 -07:00
enums-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
export-test.tsx Use redaction enum event type rather than hardcoded string (#8071) 2022-03-17 18:38:29 +01:00
FixedRollingArray-test.ts delint 2021-07-12 13:52:10 -06:00
generate-megolm-test-vectors.py Encryption and decryption for megolm backups 2017-01-14 01:34:34 +00:00
iterables-test.ts Fix naming of set-theory utils to match convention (#7343) 2021-12-13 10:57:51 +00:00
maps-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
MegolmExportEncryption-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
numbers-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
objects-test.ts Discard unused utility now that we use Object.fromEntries 2021-07-23 18:40:22 +01:00
sets-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
ShieldUtils-test.js Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
Singleflight-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
SnakedObject-test.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
stringOrderField-test.ts remove unused imports 2021-06-16 12:12:00 +01:00