-
Notifications
You must be signed in to change notification settings - Fork 19
Add page on linting and formatting #3341
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
base: main
Are you sure you want to change the base?
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a0d3141 to
eff6140
Compare
6b7eaea to
bfe0d76
Compare
|
Gezien we ook deployen en builden doen, vind ik linten best consistent en leesbaar. Echter past linten niet overal: linten is een werkwoord. Op dit moment gebruiken we linten niet, en linting op twee plekken:
Daar vind ik linting leesbaarder dan linten. Linten is een werkwoord, linting is meer een proces of term. Dus dan zou ik consistent altijd het woord linting gebruiken. |
|
Docusaurus heeft client side redirect, maar server side redirect zoals je nu hebt via htaccess lijkt me netter. |
bfe0d76 to
ad12106
Compare
ad12106 to
d617647
Compare
|
| - Schakel **format on save** in en configureer het om Prettier uit te voeren | ||
| - Gebruik dezelfde [Node.js‑versie](/nodejs) als het project | ||
| - Zorg dat de lokale Prettier config wordt gebruikt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - Schakel **format on save** in en configureer het om Prettier uit te voeren | |
| - Gebruik dezelfde [Node.js‑versie](/nodejs) als het project | |
| - Zorg dat de lokale Prettier config wordt gebruikt | |
| - Schakel **format on save** in en configureer het om Prettier uit te voeren. | |
| - Gebruik dezelfde [Node.js‑versie](/nodejs) als het project. | |
| - Zorg dat de lokale Prettier config wordt gebruikt. |
En vraagje: hoe zorg je dat de lokale Prettier config wordt gebruikt? Is dat vaak nodig om in te stellen?
|
|
||
| ## Voorbeeld en referentie | ||
|
|
||
| Een volledig voorbeeld van de configuratie en best practices wordt onderhouden in de [example](https://github.com/nl-design-system/example) repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Een volledig voorbeeld van de configuratie en best practices wordt onderhouden in de [example](https://github.com/nl-design-system/example) repository. | |
| Gebruik de de configuratie voor linting en formatting in de de [example](https://github.com/nl-design-system/example) repository als startpunt voor nieuwe projecten. Kijk ook in deze repository voor up-to-date configuraties wanneer je upgrades installeert van de tools, om tijd te besparen. |
Voorstel om de essentiele info aan het begin van de zinnen te zetten, in plaats van te beginnen met context.



Preview link