Commit Graph

15 Commits (fc49190efe040576eb912b9c9c9c3e57520362ba)

Author SHA1 Message Date
Andy Balaam 3903e86d9c
Upgrade our eslint config to the latest (#24647)
* Fix lint error in test-utils.ts

* Upgrade eslint config (and separate projects to support it)

* Handle possibility that req.error could be null
2023-03-01 14:44:03 +00:00
Michael Weimann 7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Weimann cbf5c43ae7
Update to eslint-plugin-matrix-org 0.8 (#23825)
* Update to eslint-plugin-matrix-org 0.8

* Exclude some eslint rules for specs

* Fix eslint tests path
2022-11-23 16:24:36 +00:00
Michael Telatynski 172f2f3993
Fix tests and convert to RTL (#23474) 2022-10-13 09:22:34 +01:00
3nprob 847e6b03cb
Document where new linting rules go (#23035)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-08-09 16:15:36 +02:00
Travis Ralston f1e5b95554
Wire up module loading to application startup (#21703)
* Early module loader bundler

* Add a module installer script

* Add dev-friendly docs

* Add real module-api dependency

* Speed up `yarn add` for mulitple modules

* Fix version check for modules

* Appease the linter
2022-07-05 12:26:54 -06:00
Travis Ralston 41f05541ed
Disable no-non-null assertions lint rule (#22348)
This *allows* us to use `variable!.prop` to ensure `variable` is not null/undefined.
2022-05-30 08:43:56 -06:00
Ankur 7fc258453f
Specified React version 🔧 (#21422)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
2022-03-16 13:50:12 -06:00
Michael Telatynski 240c3be014
Mandate use of js-sdk/src/matrix import over js-sdk/src (#21257) 2022-03-01 19:26:22 +00:00
J. Ryan Stinnett 573698789e Migrate to `eslint-plugin-matrix-org`
This migrates to the new plugin form of our custom ESLint configs. As part of
this, some packages are de-duplicated, configs streamlined, etc.
2021-06-30 13:24:16 +01:00
J. Ryan Stinnett 160a1fd8c8 Use unquoted keys 2021-06-30 13:19:04 +01:00
Michael Telatynski 23622db74b Fix eslint ts override tsx matching 2020-08-28 19:41:19 +01:00
J. Ryan Stinnett 269e82edc9 Remove redundant lint dependencies
These are no longer needed with the new standard lint repo.
2020-07-29 12:05:50 +01:00
Jorik Schellekens 9bb1f99bd9 Confiure eslint package and fix lint issues 2020-07-21 11:30:28 +01:00
David Baker bc714ba3a0 Add eslint config
An early start that gets some linting in place.
2017-01-23 14:22:54 +00:00