Skip to content

Conversation

@WINBIGFOX
Copy link

Summary

This PR introduces a shared Prettier configuration and applies it across the project to normalize formatting, imports, and string quotes. The goal is consistent readability and reduced diff noise going
forward.

What changed

  • Added Prettier setup (.prettierrc, .prettierignore) and included prettier-plugin-organize-imports.
  • Applied formatting updates across resources/electron/**, especially the Electron plugin and Menubar code.
  • Normalized import ordering, quote style, and object/array layout.

Areas touched (high level)

  • resources/electron/electron-plugin/src/** (Menubar, server/api, utils, php)
  • resources/electron/electron-plugin/tests/**
  • Build/config files like electron-builder.mjs, vitest.config.mts, eslint.config.js

Notes

  • npm run lint and npm run format complete without errors.

Applied Prettier rules across project files to enforce consistent code formatting. Added `.prettierrc` and `.prettierignore` files, updated dependencies with `prettier-plugin-organize-imports`, and refactored imports, string quotes, and object formatting for uniformity.
Copy link
Collaborator

@gwleuverink gwleuverink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏

…ixes

# Conflicts:
#	resources/electron/electron-plugin/src/index.ts
#	resources/electron/electron-plugin/src/server/api/menuBar.ts
#	resources/electron/electron-plugin/tsconfig.json
#	resources/electron/package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants