Tech tip of the day

luhan
Membre
Inscrit depuis le:
2024-07-03 15:23:48

Utilize tools like ESLint and Prettier to enforce code style and catch potential errors early on. Consistent formatting improves readability and collaboration on projects.

Image preview

tensazangetsu20
Membre
Inscrit depuis le:
2024-07-10 09:30:53

This lint have saved my life severally by pointing to important errors that were caught before the code even get to execute

luhan
Membre
Inscrit depuis le:
2024-07-10 09:45:01

@"tensazangetsu20"#p798 I know right? A very effective tool

Anonymous6o6
Membre
Inscrit depuis le:
2024-07-10 09:54:50

By default I use eslint+prettier on vscode when I am writing javaScript, especially typescript. If you are doing your types correctly, you will save a lot of development time.

luhan
Membre
Inscrit depuis le:
2024-07-10 13:47:34

@"Anonymous6o6"#p804 exactly, I recently saw that vite has been implementing their own linting and I really like it. that linting don't allow you declare a variable and not use it, if you just declare a variable and don't use that variable, it warns you and that warning also cause build error if you don't fix. though I agree that can get annoying at some point but it helps foster clean codes.

jenny
Membre
Inscrit depuis le: 2025-08-24 15:11:06
2024-07-25 12:34:16
[[37],[9]]
Facebook X (Twitter) Instagram LinkedIn Telegram WhatsApp