0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 21:49:51 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Paul D'Ambra
e4c7b24d50
chore: warn on switch with fall through (#25355) 2024-10-03 08:30:36 +00:00
Michael Matloka
da0507d5f1
chore(deps): rm eslint-plugin-prettier, upgrade @typescript-eslint/parser (#20814)
* chore(dev): Remove `eslint-{config,plugin}-prettier`

* Upgrade `@typescript-eslint` and restore `eslint-config-prettier`

* Fix promise handling in a few spots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-11 16:15:19 +01:00
Brett Hoerner
cd54a6a36a
chore(plugin-server): bump eslint deps and enable no-constant-binary-expression lint (#18578)
* chore(plugin-server): bump eslint deps

* chore(plugin-server): enable no-constant-binary-expression lint
2023-11-13 11:11:19 -07:00
Harry Waye
2c6a31c31b
ci(plugin-server): make function test output less confusing (#12847)
* ci(plugin-server): make function test output less confusing

Redirect logs to file, output only on test failure.

* kick ci

* put setup in group

* wip

* wip

* wip
2022-11-17 18:32:00 +00:00
Tiina Turban
7c11dac3e5
chore: error for .only usage in tests in plugin-server (#11357) 2022-08-17 18:46:28 +01:00
Michael Matloka
143e8e31c3
style: Reduce ESLint false positives (#9964)
* style: Make JS linting more accurate

* Don't lint autogenerated code
2022-05-25 14:38:44 +00:00
Michael Matloka
1f267708aa
style(plugin-server): Ban unused vars (#9922)
* Update .eslintrc.js

* Remove unused vars

* Add `eslint-plugin-prettier`

* Fix missing import
2022-05-24 13:44:42 +02:00
Yakko Majuri
e4fd5c5774
Plugin server tests CI (#6897)
* remove workflows from plugin server subdir

* wip plugin server ci tests

* prettier

* add ignore paths

* update paths
2021-11-04 15:03:28 -07:00
Karl-Aksel Puulmann
87dca4e837
Fix running yarn in plugin-server/ directory (#6738)
This broke with the following error:

```
ESLint: 7.28.0

ESLint couldn't determine the plugin "@typescript-eslint" uniquely.

- /home/macobo/backups/2/projects/posthog/plugin-server/node_modules/@typescript-eslint/eslint-plugin/dist/index.js (loaded in "../../../.eslintrc.js")
- /home/macobo/backups/2/projects/posthog/node_modules/@typescript-eslint/eslint-plugin/dist/index.js (loaded in "../../../../.eslintrc.js")

Please remove the "plugins" setting from either config or remove either plugin installation.

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
```

Relate github issue: https://github.com/eslint/eslint/issues/13385
2021-10-29 10:27:18 +02:00
James Greenhill
434e379f9a Add 'plugin-server/' from commit '01a99a4e26b0b11f068a7073d6b94e53a7214d33'
git-subtree-dir: plugin-server
git-subtree-mainline: 776b056b6d
git-subtree-split: 01a99a4e26
2021-10-28 14:59:19 -07:00
James Greenhill
145937a435
Revert "Monorepo with updated history" 2021-10-28 14:55:17 -07:00
James Greenhill
65512ae16f
Pack up plugin-server for moving 2021-10-12 15:45:42 -07:00