Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor: more lint improvements | 2023-07-30 | |
| | | | | | | | | | - set parserOptions.ecmaVersion to latest and env to es2024 in eslint config - install missing types libraries - install eslint-plugin-sonar - enable eslint-plugin-sonar recommended rules and declare jsx-runtime for react in eslint config - clean up disabled lint rules which don't inflict problems anymore - disable various lint issues and fix others | ||
* | eslint needs to be executed at the top-level to actually workv6.0.1-nightly.3 | 2022-07-25 | |
| | |||
* | fix: preload script detection in unit tests | 2022-05-12 | |
| | | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com> | ||
* | Preload safe debug shim (#29) | 2022-04-22 | |
In https://github.com/ferdium/ferdium-app/pull/23 we removed usages of the debug package due to an electron bug. This patch aims to restore some debug functionality by introducing a shim. The shim detect whether if it is being introduced in a preload script where the electron but would be triggered, and falls back to a simple replacement for debug. However, in the main and renderer processes, where a preload script is not being used, we still get full debug functionality. In this way, a module can be used both in a preload script and outside of it, while still preserving debug functionality whenever possible. Signed-off-by: Kristóf Marussy <kristof@marussy.com> |