Skip to content

Commit 3a9dfbd

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents f0a3109 + a2f1287 commit 3a9dfbd

File tree

379 files changed

+5675
-3925
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

379 files changed

+5675
-3925
lines changed

.evergreen/print-compass-env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ if [[ "${EVERGREEN_PROJECT}" == "10gen-compass-main" ]]; then
4343
month=$(escapeLeadingZero "${ts[1]}")
4444
day=$(escapeLeadingZero "${ts[2]}")
4545
hour=$(escapeLeadingZero "${ts[3]}")
46-
minute="${ts[4]}"
47-
second="${ts[5]}"
46+
minute=$(escapeLeadingZero "${ts[4]}")
47+
second=$(escapeLeadingZero "${ts[5]}")
4848
export DEV_VERSION_IDENTIFIER="${year}.${month}.${day}-dev.${hour}${minute}${second}"
4949
fi
5050
fi
File renamed without changes.

.github/workflows/test-installers.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ jobs:
4646
run: echo "[Evergreen Task](${{ github.event.inputs.evergreen_task_url }})" >> $GITHUB_STEP_SUMMARY
4747
test:
4848
name: ${{ matrix.package }} test ${{ matrix.test }} (${{ matrix.hadron-distribution }})
49-
timeout-minutes: 30
49+
# Windows specifically takes A TON of time to bootstrap itself before being
50+
# able to run tests, so we're setting the timeout pretty high to account for
51+
# that
52+
timeout-minutes: 60
5053
strategy:
5154
fail-fast: false
5255
matrix:
@@ -174,7 +177,11 @@ jobs:
174177
runs-on: ${{ matrix.runs-on }}
175178
container: ${{ matrix.container }}
176179
env:
177-
DEBUG: compass:smoketests:*
180+
DEBUG: compass:smoketests:*,compass-e2e-tests:*
181+
# Similar to total task timeout, setting these higher than the default
182+
# value to account for very slow windows machines
183+
COMPASS_E2E_MOCHA_TIMEOUT: 720000 # 12min
184+
COMPASS_E2E_WEBDRIVER_WAITFOR_TIMEOUT: 360000 # 6min
178185
steps:
179186
- name: Checkout
180187
uses: actions/checkout@v2

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To enable the Chrome DevTools for the Electron renderer processes, click "Settin
4242

4343
> [!NOTE]
4444
> For documentation regarding how to write plugin packages, check out the
45-
> [hadron-app-registry](./packages/hadron-app-registry/README.md) documentation.
45+
> [@mongodb-js/compass-app-registry](./packages/compass-app-registry/README.md) documentation.
4646
4747
To run npm scripts inside specific workspaces in the monorepo you can use either `lerna --scope` or `npm --workspace` command line arguments. As an example, to run all tests in one plugin that you are working on such as the `compass-aggregations` plugin, you can run `npm run test --workspace packages/compass-aggregation` or `lerna run test --scope @mongodb-js/compass-aggregations` commands
4848

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Is there anything else you’d like to see in Compass? Let us know by submitting
4040
### Shared Libraries and Build Tools
4141

4242
- [**@mongodb-js/atlas-service**](packages/atlas-service): Service to handle Atlas sign in and API requests
43+
- [**@mongodb-js/compass-app-registry**](packages/compass-app-registry): Compass App Registry
4344
- [**@mongodb-js/compass-components**](packages/compass-components): React Components used in Compass
4445
- [**@mongodb-js/compass-connection-import-export**](packages/compass-connection-import-export): UI for Compass connection import/export
4546
- [**@mongodb-js/compass-connections**](packages/compass-connections): Manage your MongoDB connections and connect in Compass
@@ -67,7 +68,6 @@ Is there anything else you’d like to see in Compass? Let us know by submitting
6768
- [**bson-transpilers**](packages/bson-transpilers): Source to source compilers using ANTLR
6869
- [**compass-e2e-tests**](packages/compass-e2e-tests): E2E test suite for Compass app that follows smoke tests / feature testing matrix
6970
- [**compass-preferences-model**](packages/compass-preferences-model): Compass preferences model
70-
- [**hadron-app-registry**](packages/hadron-app-registry): Hadron App Registry
7171
- [**hadron-build**](packages/hadron-build): Tooling for Hadron apps like Compass
7272
- [**hadron-document**](packages/hadron-document): Hadron Document
7373
- [**hadron-ipc**](packages/hadron-ipc): Simplified IPC for electron apps.

THIRD-PARTY-NOTICES.md

Lines changed: 95 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The following third-party software is used by and included in **Mongodb Compass**.
2-
This document was automatically generated on Sun Jun 15 2025.
2+
This document was automatically generated on Sun Jun 22 2025.
33

44
## List of dependencies
55

@@ -75,15 +75,17 @@ This document was automatically generated on Sun Jun 15 2025.
7575
| **[@dnd-kit/sortable](#059a166729dc9306b37987bfa0eaa5e59b3ffc6928155d28750993d7178ea61e)** | 7.0.2 | MIT |
7676
| **[@dnd-kit/utilities](#5c1b45075a016b1605974d8314078eaff1a193cb964f113c2e3730cbe9603ae0)** | 3.2.1 | MIT |
7777
| **[@electron/remote](#1b60dc9421c1b6d8b9d0e622fa6b2ef72f605502fd87ad509ea160940395ab6d)** | 2.1.2 | MIT |
78-
| **[@emotion/cache](#c91e3f11a83bb52488c9d1aa63b8e135037dbebc6acd2717e994939f5547b521)** | 11.11.0 | MIT |
78+
| **[@emotion/cache](#4948c42794e50ebd04d6ee63d624aaa67236cc0b6aca335d68e5d3a3e8d05f65)** | 11.14.0 | MIT |
7979
| **[@emotion/css](#0f0fe64169ea56b12722e0c13f21cf260cb4e2a9840c0b909e6871d870ba3129)** | 11.11.2 | MIT |
80-
| **[@emotion/hash](#b42900e08e5dadbc62da63a30f552d7705f99bf37c9468aacaf4d05af9589206)** | 0.9.1 | MIT |
81-
| **[@emotion/memoize](#1827146c6aec82dcee79fa8bc04b0315431dd1ce05aae537ea63a88ce1580dcc)** | 0.8.1 | MIT |
82-
| **[@emotion/serialize](#55f5a8e0d65e17a53e71c997b847af76e4e1c46fc25aec5c6824a23ced36b5af)** | 1.1.2 | MIT |
83-
| **[@emotion/sheet](#e421ab8cefe597cf44f29ad92e17c5dc018be162bdac5bc5476ebac908aa3309)** | 1.2.2 | MIT |
84-
| **[@emotion/unitless](#6f21f2d3d65978942c063ac7244c87c1e70353c1cb50b664bb1d1887e84521ae)** | 0.8.1 | MIT |
85-
| **[@emotion/utils](#f6b1e8b81a4cecb8428a258e22f946a728b5c73d12a8d5cb55087f672c0ce2bc)** | 1.2.1 | MIT |
86-
| **[@emotion/weak-memoize](#e5fd44184f5735455cec841f564e21689561fdc449fed6922f4999dae125d2f1)** | 0.3.1 | MIT |
80+
| **[@emotion/hash](#eaf4af16eea09af2b8c9178dc6dbf7d8740d1dd12d5a917a5171a5418025a4aa)** | 0.9.2 | MIT |
81+
| **[@emotion/memoize](#7cda53e7edd72f2b6d15a5a31ef9ccf3cee5a2554d480ba36f23402ad06e256a)** | 0.9.0 | MIT |
82+
| **[@emotion/react](#476447362f286bde06b9988156340b3ab4ebae7737fb2a19e4eca5974b290820)** | 11.14.0 | MIT |
83+
| **[@emotion/serialize](#1f41cea9806d2d8e1f5442d880b5337761f2409bb2165e12be1c6d679bad5f7f)** | 1.3.3 | MIT |
84+
| **[@emotion/sheet](#cfc7d52e5a53abad71c28b03c4ee7a7d7a8a72ef50744077c1a56fc0bd6604bc)** | 1.4.0 | MIT |
85+
| **[@emotion/unitless](#3c885c26e17a78ef99a4fa23d8ab24613404d458ac7193e54cc529268a24e4e0)** | 0.10.0 | MIT |
86+
| **[@emotion/use-insertion-effect-with-fallbacks](#a7662316f90ed8cb032ced23bee64ce0574a0b8eb63d56ee8eedb8c56cfc2812)** | 1.2.0 | MIT |
87+
| **[@emotion/utils](#e99b2a20e001e7734cc4f71b8fa6de4d5578c101b034e4571c7b51f86704f663)** | 1.4.2 | MIT |
88+
| **[@emotion/weak-memoize](#87ba3696f63d7274d407f7e4e93881675689944435b0d8af05b1f5bac283250d)** | 0.4.0 | MIT |
8789
| **[@floating-ui/core](#8d656c6cba1d5d97a1954754b2715d577514d11465f4f662d49f322577471ccc)** | 1.6.9 | MIT |
8890
| **[@floating-ui/dom](#f58701a5fdc51e843e37875cb1dddf57f36fb0b6d458be6c14d30c3227ac6ec0)** | 1.6.13 | MIT |
8991
| **[@floating-ui/react-dom](#5e7f2bf76bf44f75d4a340db3bd81de2907a36d2fc8bc997ba4d1f27eec70324)** | 2.1.2 | MIT |
@@ -500,7 +502,7 @@ This document was automatically generated on Sun Jun 15 2025.
500502
| **[unpipe](#3a555405bd00c7e7e52b07a5600248bdaa683db613d7c286e425511cee8ed14a)** | 1.0.0 | MIT |
501503
| **[untildify](#511cd56aa5943fd465da93776449b0a7249438206b5c5bfc22cc6d7e55ab0029)** | 4.0.0 | MIT |
502504
| **[unused-filename](#5c8d4d94e0c17084eac0ca8c2eefa1fdb285e6a3dc47477e54d9acf7bf08eb2a)** | 2.1.0 | MIT |
503-
| **[use-sync-external-store](#f7d4a0ea4ee9d814fb264db8103d6ad3a831aa79bf7f3ea70bfa182f8a930f0a)** | 1.2.0 | MIT |
505+
| **[use-sync-external-store](#6b678586fc047dd59dc9e9eaad7d19eb2ce50620620eeb6fa07f9119bf29c07a)** | 1.5.0 | MIT |
504506
| **[util-deprecate](#a1bd80d6a50b36e34032c402c5204d6276747d8212b68b164a9e3f895b90c2d6)** | 1.0.2 | MIT |
505507
| **[utils-merge](#daf17cb7acc6dd4694e84d0920d7b32dba2be0fcf114309bfce8538812e7c458)** | 1.0.1 | MIT |
506508
| **[uuid](#8e5d6b0bb24ea0188cd3a88b1f790f104e774bb8ed04c0dac0db7cfe2911227e)** | 9.0.1 | MIT |
@@ -6347,9 +6349,9 @@ License files:
63476349
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
63486350
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
63496351

6350-
<a id="c91e3f11a83bb52488c9d1aa63b8e135037dbebc6acd2717e994939f5547b521"></a>
6352+
<a id="4948c42794e50ebd04d6ee63d624aaa67236cc0b6aca335d68e5d3a3e8d05f65"></a>
63516353

6352-
### [@emotion/cache](https://www.npmjs.com/package/@emotion/cache) (version 11.11.0)
6354+
### [@emotion/cache](https://www.npmjs.com/package/@emotion/cache) (version 11.14.0)
63536355

63546356
License tags: MIT
63556357

@@ -6411,9 +6413,9 @@ License files:
64116413
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64126414
SOFTWARE.
64136415

6414-
<a id="b42900e08e5dadbc62da63a30f552d7705f99bf37c9468aacaf4d05af9589206"></a>
6416+
<a id="eaf4af16eea09af2b8c9178dc6dbf7d8740d1dd12d5a917a5171a5418025a4aa"></a>
64156417

6416-
### [@emotion/hash](https://www.npmjs.com/package/@emotion/hash) (version 0.9.1)
6418+
### [@emotion/hash](https://www.npmjs.com/package/@emotion/hash) (version 0.9.2)
64176419

64186420
License tags: MIT
64196421

@@ -6443,9 +6445,9 @@ License files:
64436445
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64446446
SOFTWARE.
64456447

6446-
<a id="1827146c6aec82dcee79fa8bc04b0315431dd1ce05aae537ea63a88ce1580dcc"></a>
6448+
<a id="7cda53e7edd72f2b6d15a5a31ef9ccf3cee5a2554d480ba36f23402ad06e256a"></a>
64476449

6448-
### [@emotion/memoize](https://www.npmjs.com/package/@emotion/memoize) (version 0.8.1)
6450+
### [@emotion/memoize](https://www.npmjs.com/package/@emotion/memoize) (version 0.9.0)
64496451

64506452
License tags: MIT
64516453

@@ -6475,9 +6477,9 @@ License files:
64756477
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64766478
SOFTWARE.
64776479

6478-
<a id="55f5a8e0d65e17a53e71c997b847af76e4e1c46fc25aec5c6824a23ced36b5af"></a>
6480+
<a id="476447362f286bde06b9988156340b3ab4ebae7737fb2a19e4eca5974b290820"></a>
64796481

6480-
### [@emotion/serialize](https://www.npmjs.com/package/@emotion/serialize) (version 1.1.2)
6482+
### [@emotion/react](https://www.npmjs.com/package/@emotion/react) (version 11.14.0)
64816483

64826484
License tags: MIT
64836485

@@ -6507,9 +6509,9 @@ License files:
65076509
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
65086510
SOFTWARE.
65096511

6510-
<a id="e421ab8cefe597cf44f29ad92e17c5dc018be162bdac5bc5476ebac908aa3309"></a>
6512+
<a id="1f41cea9806d2d8e1f5442d880b5337761f2409bb2165e12be1c6d679bad5f7f"></a>
65116513

6512-
### [@emotion/sheet](https://www.npmjs.com/package/@emotion/sheet) (version 1.2.2)
6514+
### [@emotion/serialize](https://www.npmjs.com/package/@emotion/serialize) (version 1.3.3)
65136515

65146516
License tags: MIT
65156517

@@ -6539,9 +6541,9 @@ License files:
65396541
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
65406542
SOFTWARE.
65416543

6542-
<a id="6f21f2d3d65978942c063ac7244c87c1e70353c1cb50b664bb1d1887e84521ae"></a>
6544+
<a id="cfc7d52e5a53abad71c28b03c4ee7a7d7a8a72ef50744077c1a56fc0bd6604bc"></a>
65436545

6544-
### [@emotion/unitless](https://www.npmjs.com/package/@emotion/unitless) (version 0.8.1)
6546+
### [@emotion/sheet](https://www.npmjs.com/package/@emotion/sheet) (version 1.4.0)
65456547

65466548
License tags: MIT
65476549

@@ -6571,9 +6573,9 @@ License files:
65716573
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
65726574
SOFTWARE.
65736575

6574-
<a id="f6b1e8b81a4cecb8428a258e22f946a728b5c73d12a8d5cb55087f672c0ce2bc"></a>
6576+
<a id="3c885c26e17a78ef99a4fa23d8ab24613404d458ac7193e54cc529268a24e4e0"></a>
65756577

6576-
### [@emotion/utils](https://www.npmjs.com/package/@emotion/utils) (version 1.2.1)
6578+
### [@emotion/unitless](https://www.npmjs.com/package/@emotion/unitless) (version 0.10.0)
65776579

65786580
License tags: MIT
65796581

@@ -6603,9 +6605,73 @@ License files:
66036605
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
66046606
SOFTWARE.
66056607

6606-
<a id="e5fd44184f5735455cec841f564e21689561fdc449fed6922f4999dae125d2f1"></a>
6608+
<a id="a7662316f90ed8cb032ced23bee64ce0574a0b8eb63d56ee8eedb8c56cfc2812"></a>
66076609

6608-
### [@emotion/weak-memoize](https://www.npmjs.com/package/@emotion/weak-memoize) (version 0.3.1)
6610+
### [@emotion/use-insertion-effect-with-fallbacks](https://www.npmjs.com/package/@emotion/use-insertion-effect-with-fallbacks) (version 1.2.0)
6611+
6612+
License tags: MIT
6613+
6614+
License files:
6615+
6616+
- LICENSE:
6617+
6618+
MIT License
6619+
6620+
Copyright (c) Emotion team and other contributors
6621+
6622+
Permission is hereby granted, free of charge, to any person obtaining a copy
6623+
of this software and associated documentation files (the "Software"), to deal
6624+
in the Software without restriction, including without limitation the rights
6625+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6626+
copies of the Software, and to permit persons to whom the Software is
6627+
furnished to do so, subject to the following conditions:
6628+
6629+
The above copyright notice and this permission notice shall be included in all
6630+
copies or substantial portions of the Software.
6631+
6632+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6633+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6634+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6635+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6636+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6637+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6638+
SOFTWARE.
6639+
6640+
<a id="e99b2a20e001e7734cc4f71b8fa6de4d5578c101b034e4571c7b51f86704f663"></a>
6641+
6642+
### [@emotion/utils](https://www.npmjs.com/package/@emotion/utils) (version 1.4.2)
6643+
6644+
License tags: MIT
6645+
6646+
License files:
6647+
6648+
- LICENSE:
6649+
6650+
MIT License
6651+
6652+
Copyright (c) Emotion team and other contributors
6653+
6654+
Permission is hereby granted, free of charge, to any person obtaining a copy
6655+
of this software and associated documentation files (the "Software"), to deal
6656+
in the Software without restriction, including without limitation the rights
6657+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6658+
copies of the Software, and to permit persons to whom the Software is
6659+
furnished to do so, subject to the following conditions:
6660+
6661+
The above copyright notice and this permission notice shall be included in all
6662+
copies or substantial portions of the Software.
6663+
6664+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6665+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6666+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6667+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6668+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6669+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6670+
SOFTWARE.
6671+
6672+
<a id="87ba3696f63d7274d407f7e4e93881675689944435b0d8af05b1f5bac283250d"></a>
6673+
6674+
### [@emotion/weak-memoize](https://www.npmjs.com/package/@emotion/weak-memoize) (version 0.4.0)
66096675

66106676
License tags: MIT
66116677

@@ -36112,9 +36178,9 @@ License files:
3611236178

3611336179
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3611436180

36115-
<a id="f7d4a0ea4ee9d814fb264db8103d6ad3a831aa79bf7f3ea70bfa182f8a930f0a"></a>
36181+
<a id="6b678586fc047dd59dc9e9eaad7d19eb2ce50620620eeb6fa07f9119bf29c07a"></a>
3611636182

36117-
### [use-sync-external-store](https://www.npmjs.com/package/use-sync-external-store) (version 1.2.0)
36183+
### [use-sync-external-store](https://www.npmjs.com/package/use-sync-external-store) (version 1.5.0)
3611836184

3611936185
License tags: MIT
3612036186

@@ -36124,7 +36190,7 @@ License files:
3612436190

3612536191
MIT License
3612636192

36127-
Copyright (c) Facebook, Inc. and its affiliates.
36193+
Copyright (c) Meta Platforms, Inc. and affiliates.
3612836194

3612936195
Permission is hereby granted, free of charge, to any person obtaining a copy
3613036196
of this software and associated documentation files (the "Software"), to deal

configs/eslint-config-compass/index.js

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
const path = require('path');
44
const shared = require('@mongodb-js/eslint-config-devtools');
55
const common = require('@mongodb-js/eslint-config-devtools/common');
6+
const chaiFriendly = require('eslint-plugin-chai-friendly');
67

78
const extraTsRules = {
89
// Newly converted plugins use `any` quite a lot, we can't enable the rule,
@@ -15,28 +16,17 @@ const extraTsRules = {
1516
'error',
1617
{ fixMixedExportsWithInlineTypeSpecifier: false },
1718
],
19+
// We use chai outside of tests, hence applying these rules to all ts files
20+
...chaiFriendly.configs.recommended.rules,
1821
'@typescript-eslint/prefer-promise-reject-errors': 'off',
1922
'@typescript-eslint/only-throw-error': 'off',
2023

2124
// TODO: a lot new hits with latest typescript-eslint, we should gradually
2225
// clean those out and re-enable the rules
2326
'@typescript-eslint/no-explicit-any': 'warn',
2427
'@typescript-eslint/no-base-to-string': 'warn',
25-
'@typescript-eslint/no-require-imports': 'warn',
26-
'@typescript-eslint/no-unused-vars': [
27-
'error',
28-
{
29-
caughtErrors: 'none', // should be `'all'`
30-
},
31-
],
32-
'@typescript-eslint/no-unused-expressions': 'off', // replace with eslint-plugin-chai-friendly
33-
'@typescript-eslint/no-redundant-type-constituents': 'warn',
3428
'@typescript-eslint/unbound-method': 'warn',
3529
'@typescript-eslint/no-duplicate-type-constituents': 'warn',
36-
'@typescript-eslint/no-unsafe-declaration-merging': 'warn',
37-
'@typescript-eslint/no-floating-promises': 'warn',
38-
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
39-
'@typescript-eslint/no-misused-promises': 'warn',
4030
};
4131

4232
const tsRules = {
@@ -106,7 +96,7 @@ const testTsOverrides = {
10696
};
10797

10898
module.exports = {
109-
plugins: [...shared.plugins, '@mongodb-js/compass'],
99+
plugins: [...shared.plugins, '@mongodb-js/compass', 'chai-friendly'],
110100
rules: {
111101
...shared.rules,
112102
'@mongodb-js/compass/no-leafygreen-outside-compass-components': 'error',

0 commit comments

Comments
 (0)