mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 03:02:38 +00:00
## About The Pull Request Prettier (an auto formatter) is set to only run within the tgui folder currently. This removes that limitation, allowing it to automatically format all supported files in the repo (.js, .html, .yml [etc](https://prettier.io/docs/)) I made a few exceptions for bundled and generated files ## Why It's Good For The Game I'm of the opinion that code should look uniform and am lazy enough to want CTRL-S to format files without having to think beyond that ## Changelog
22 lines
425 B
JavaScript
22 lines
425 B
JavaScript
import assert from "node:assert/strict";
|
|
import { changelogToYml } from "./autoChangelog.js";
|
|
import { parseChangelog } from "./changelogParser.js";
|
|
|
|
assert.equal(
|
|
changelogToYml(
|
|
parseChangelog(`
|
|
My cool PR!
|
|
:cl: DenverCoder9
|
|
add: Adds new stuff
|
|
add: Adds more stuff
|
|
/:cl:
|
|
`),
|
|
),
|
|
|
|
`author: "DenverCoder9"
|
|
delete-after: True
|
|
changes:
|
|
- rscadd: "Adds new stuff"
|
|
- rscadd: "Adds more stuff"`,
|
|
);
|