Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Prettier config #537

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

dorianignee
Copy link
Contributor

The .prettierconfig.yaml file didn't match the prettier code style that is actually used in this repo. For new contributors, that means that they will get the message "Code style issues found in 145 files" when they try to build the project. That leads to a cancellation of the build process, which results in not being able to "npm start" the project.

I updated the .prettierconfig.yaml to the settings that seem to be used in this repo. The only file that didn't match the settings is web/src/pico/pico.scss, which is included in this PR.
I also updated the scripts "npm run check:format" and "npm run format" to use the updated config file.

change prettierconfig to match code format
add prettierconfig to scripts
@DavidSouther DavidSouther merged commit 2040305 into nand2tetris:main Dec 25, 2024
1 check passed
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