element-web/test/components/structures
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
..
__snapshots__ Use typographical quotes in no threads UI (#7713) 2022-02-07 15:13:34 +00:00
auth Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
CallEventGrouper-test.ts fix more type issues in unit tests (#8053) 2022-03-15 10:30:48 +01:00
GroupView-test.js Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
MessagePanel-test.js Wrap EventTile rather than its children in an error boundary (#7945) 2022-03-09 11:22:36 +00:00
RightPanel-test.tsx Clean up some unit test logs (#7857) 2022-02-21 16:57:44 +00:00
ThreadPanel-test.tsx Move timeline set creation logic to the JS SDK (#8070) 2022-03-18 11:59:03 +00:00