qooxdoo / qooxdoo

qooxdoo - Universal JavaScript Framework
http://qooxdoo.org
Other
764 stars 259 forks source link

Add a `qx prettier` command #10682

Open johnspackman opened 1 month ago

johnspackman commented 1 month ago

The pre-commit hook does not work, and es6ify cannot reliably prettify the code - this is because of an issue with babel, which apparently is known to loose formatting information, and prettier just can't cope.

There was a pre-commit hook for git that ran es6ify but that would break code formatting on every commit and it has been removed.

Ideally, we would add qx prettier command, and reinstate the pre-commit hook