Automate prettier, made carousel unselectable and updated README #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes TLDR:
Prettier
The existing prettier configuration wasn't automated; now it is using husky
Carousel
It could be selected, which doesn't make sense. Well, it cannot be selected any longer
README
It had setup instructions for the old deno repo, updated it to use bun instructions correctly
Whatever copilot has to say:
This pull request introduces several improvements to the development workflow, project documentation, and code formatting, as well as minor code style adjustments for consistency. The most significant updates are the addition of pre-commit linting using Husky and lint-staged, a more detailed and user-friendly setup guide in the
README.md, and expanded VSCode workspace settings.Development workflow improvements:
package.json,.husky/pre-commit) [1] [2] [3]preparescript inpackage.jsonto initialize Husky instead of runningsvelte-kit sync.package.jsonto run Prettier on all files before committing.Documentation enhancements:
README.mdto provide clearer, step-by-step setup instructions for contributors, including dependency installation and running the development server. Also improved the section on external contributions.Editor and workspace configuration:
.vscode/settings.jsonwith custom workspace color settings and additional dictionary words for spell checking.Code style and formatting consistency:
src/lib/api/sdk.gen.tsfor improved readability and consistency. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]src/hooks.server.tsfor HTML replacement logic.