Hugh Nimmo-Smith
ff1db2b538
Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule ( #4680 )
...
* Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule
* Re-lint after merge
2025-02-05 12:15:20 +00:00
Will Hunt
f6a169b5a5
Replace usages of global
with globalThis
( #4489 )
...
* Update src with globalThis
* Update spec with globalThis
* Replace in more spec/ places
* More changes to src/
* Add a linter rule for global
* Prettify
* lint
2024-11-01 09:15:21 +00:00
Andy Balaam
92342c07ed
Introduce Membership TS type (take 2) ( #4107 )
...
* Introduce Membership TS type
* Adapt the Membership TS type to be an enum
* Add docstrings for KnownMembership and Membership
* Move Membership types into a separate file, exported from types.ts
---------
Co-authored-by: Stanislav Demydiuk <s.demydiuk@gmail.com>
2024-03-18 12:47:23 +00:00
Johannes Marbach
65cbbaaf01
Use sender instead of content.creator field on m.room.create events ( #3675 )
...
* Use sender instead of content.creator field on m.room.create events
* Restore room_version fields in fixtures
* Add test case for undefined sender scenario
2023-08-24 11:58:04 +00:00
Michael Telatynski
4424438658
Fix jest/no-conditional-expect lint and enable it ( #3194 )
2023-03-07 12:44:03 +00:00
Eric Eastwood
c67325ba07
Add matrix-org/jest
linting ( #2973 )
2023-02-10 12:05:40 +01:00
Michael Weimann
349c2c2587
Apply prettier formatting
2022-12-09 09:38:20 +01:00
Michael Telatynski
8d018f9c2d
Enable noImplicitAny ( #2895 )
...
* Stash noImplicitAny work
* Enable noImplicitAny
* Update olm
* Fun
* Fix msgid stuff
* Fix tests
* Attempt to fix Browserify
2022-12-06 18:21:44 +00:00
Michael Telatynski
34c5598a3f
Modernize http-api - move from browser-request
to fetch
( #2719 )
2022-10-12 18:59:04 +01:00
Kerry
a1b046b5d8
test typescriptification - spec/integ ( #2714 )
...
* renamed: spec/integ/devicelist-integ.spec.js -> spec/integ/devicelist-integ.spec.ts
* fix ts issue in devicelist-integ.spec
* renamed: spec/integ/matrix-client-event-emitter.spec.js -> spec/integ/matrix-client-event-emitter.spec.ts
* ts issues in matrix-client-event-emitter integ
* strict fixes
* renamed: spec/integ/matrix-client-methods.spec.js -> spec/integ/matrix-client-methods.spec.ts
* fix ts issues
* renamed: spec/integ/matrix-client-opts.spec.js -> spec/integ/matrix-client-opts.spec.ts
* ts fixes in matrix-client-methods / matrix-client-opts
* renamed: spec/integ/matrix-client-room-timeline.spec.js -> spec/integ/matrix-client-room-timeline.spec.ts
* most ts fixes in matrix-client-room-timeline
* remove obsoleted prev_events from mockenvents
* make xmlhttprequest ts
* strict errors in matrix-client-event-timeline spec
* strict in devicelist
* strict fixes in matrix-client-crypto.spec
* strict fixes in spec/integ/matrix-client-room-timeline
* strict issues in matrix-client-opts.specc
* strict issues in matrix-client-syncing
* strict issues in spec/integ/megolm
* strict fixes in spec/integ/matrix-client-retrying.spec
* strict fixes for spec/integ/sliding-sync
* eslint fixes
* more strict errors sneaking in from develop
* kill al httpbackends
* kill matrix-client-methods.spec httpbackend properly
2022-10-06 08:11:25 +02:00