Commit graph

10 commits

Author SHA1 Message Date
Antoine Clausse
7f48c67512 Add prefer-node-protocol ESLint rule (#21532)
* Add `unicorn/prefer-node-protocol`

* Fix `unicorn/prefer-node-protocol` ESLint errors

* Run `npm run format:fix`

* Add sandboxed-module sourceTransformers in mocha setups

Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`

* Remove `node:` in the SandboxedModule requires

* Fix new linting errors with `node:`

GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
Eric Mc Sween
025863d8ae Merge pull request #12208 from overleaf/em-camel-case-notifications
Camel case variables in notifications

GitOrigin-RevId: da1fb77f42e4ba58b6b3833aa05ddf76e1d613f6
2023-03-17 09:05:29 +00:00
Jakob Ackermann
9a2bb1044f [misc] run format_fix and lint:fix 2021-07-13 12:04:44 +01:00
Eric Mc Sween
821972b791 Add global test setup
Configure chai and SandboxedModule in a central place and add
SandboxedModule globals that are required in Node 12.
2021-03-17 16:34:06 -04:00
Jakob Ackermann
f16fbdcdbf [misc] bump metrics module to 3.4.1
- renamed package from `metrics-sharelatex` to `@overleaf/metrics`
- drop support for statsd backend
- decaffeinate
- compress `/metrics` response using gzip
- bump debugging agents to latest versions
- expose prometheus interfaces for custom metrics (custom tags)
- cleanup of open sockets metrics
- fix deprecation warnings for header access
2020-11-25 11:57:20 +00:00
Tim Alby
61dc3435c4 fix formatting 2020-06-04 09:50:05 +02:00
Ersun Warncke
7302c0ce0b [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 19:04:56 +02:00
Jakob Ackermann
00e15a383f [misc] fix prettier-eslint errors 2020-02-11 12:29:20 +01:00
Tim Alby
fc0d1f8485 prettier: convert test/unit decaffeinated files to Prettier format 2020-01-13 20:04:03 +01:00
Tim Alby
100209c2db decaffeinate: rename test/unit/coffee to test/unit/js 2020-01-13 20:04:03 +01:00
Renamed from services/notifications/test/unit/coffee/NotificationsControllerTest.js (Browse further)