Lint & Format JavaScript with Biome

  Рет қаралды 7,265

Colby Fayock

Colby Fayock

Күн бұрын

Пікірлер: 32
@colbyfayock
@colbyfayock 4 ай бұрын
Learn how to build a full stack Next.js app in my upcoming course: colbyfayock.com/course
@inergy204
@inergy204 14 күн бұрын
19:19 - In VSCode you can also use the keyboard shortcut to "Save without formatting": Windows = Control/Command + K -> S ... Additionally you can use the Show All Commands to bring up the command palette and search for it: Control/Command + Shift + P, then start to type "save without formatting" and execute from the list Great video, thank you!
@inergy204
@inergy204 14 күн бұрын
also, one critique about the video is to add chapters for folks to find the sections a bit easier, or at least reference the timestamps in the description. Thanks again
@mohasinkr
@mohasinkr 3 ай бұрын
This is so useful. As someone who hates setting up eslint and prettier configs this is godsend. Also please dont stop making these awesome videos. Your channel is so underrated!
@colbyfayock
@colbyfayock 3 ай бұрын
thank you 🙏
@blacksun6761
@blacksun6761 4 ай бұрын
Man since long time I wanted to try biome but I was afraid to mess up with the settings. Thanks for all the tutorials.
@colbyfayock
@colbyfayock 4 ай бұрын
no problem!
@jawyor-k3t
@jawyor-k3t 4 ай бұрын
kinda odd question but, how do you speak so fluidly and without any mistakes? I'm genuinely interested :D Is it natural? I think you are the best on youtube in that aspect
@colbyfayock
@colbyfayock 4 ай бұрын
wow thanks. well to start, i dont record the video in one really long segment, i do it in chunks, so if i make a major mistake, i re-shoot that little clip, but i generally try to avoid reshooting where i can so that its more natural. sometimes i just completely lose my train of thought and stall, so thats where i'd cut and re-record
@eleah2665
@eleah2665 4 ай бұрын
Very timely for me. Thanks.
@colbyfayock
@colbyfayock 4 ай бұрын
awesome no problem!
@destocot1729
@destocot1729 4 ай бұрын
great video as useful would love to see a nextjs course by you hopefully itll be in my budget
@colbyfayock
@colbyfayock 4 ай бұрын
details will be announced soon 🙌
@GiraffeReactor
@GiraffeReactor 4 ай бұрын
@@colbyfayock if you want a small little creator to give it a test run id be down :) haha
@crow3291
@crow3291 2 ай бұрын
like your terminal, what are you using to customize your zsh shell? I'm using p10k but I like the simpleness of yours.
@colbyfayock
@colbyfayock 2 ай бұрын
oh-my-zsh and some random custom colors i played around with in the profile settings
@ReactNativeWeeks
@ReactNativeWeeks 4 ай бұрын
This was so helpful. Have you ever tried husky & lint-stage with github integrated ui vscode has? terminal works fine but the vscode github interface always fail to me when using husky & lint-stage.
@colbyfayock
@colbyfayock 4 ай бұрын
no i havent! bummer to hear that's not working. whats the specific problem you're seeing?
@justingolden87
@justingolden87 4 ай бұрын
Lint on staged changes only is neat!
@colbyfayock
@colbyfayock 4 ай бұрын
super handy!
@evheniydan
@evheniydan 4 ай бұрын
Are there any significant benefits to using Biome instead of Prettier + ESLint? I'm not sure if I want to mess with my current setup
@ranadenish
@ranadenish 4 ай бұрын
Because of Prettier + ESLint, sometimes it makes issue for configurations. Biome solves it by having both features in one. I am not sure if you have faced the issue. but you can google it and can find so many have these.
@justingolden87
@justingolden87 4 ай бұрын
My guess is since it's one tool instead of two it can make things simpler/easier and you don't have to worry about eslint and prettier playing nice. But that's such a common setup it generally works anyway. I personally find prettier really annoying in specific situations where I want to line wrap or not line wrap or have inline comments. It's really bad at that stuff and everything is underlined in red or I have to ignore all line wrapping rules for the entire project or file or add a whole bunch of prettier ignore comments. But there's certainly a quality of life using a tool that's super common. Seems like biome is on the up though
@danko95bgd
@danko95bgd 4 ай бұрын
You don't need eslint, prettier, eslint plugin prettier, eslint config prettier shittier etc. and it's much faster which is what matters
@madmaxdev
@madmaxdev 4 ай бұрын
Very helpful video. I think lefthook is fast and minimal.
@colbyfayock
@colbyfayock 4 ай бұрын
thanks for the tip, i hadnt tried lefthook, but when i looked at it, it gave me the sense that to use it, everyone would have to manually install locally, is that the case? or does it work similar to husky, where you can have it automatically set up?
@AlJey007
@AlJey007 4 ай бұрын
clickbait title, that's not what "clean code" even means
@colbyfayock
@colbyfayock 4 ай бұрын
okay
@GV14982
@GV14982 4 ай бұрын
Well that’s not entirely true. Formatting and linting is part of what makes a codebase “clean”
@lamanhataolao438
@lamanhataolao438 4 ай бұрын
It is literal meaning. Take it easy 😅
How to Set Up ESLint in 2025! (Beginner's Guide)
22:04
The Common Coder
Рет қаралды 11 М.
An interesting webpack preloading exercise
10:13
Andrei Gătej
Рет қаралды 19
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
WinterJS -  A New Javascript Runtime
27:06
ThePrimeTime
Рет қаралды 181 М.
Pagination in React
29:05
Colby Fayock
Рет қаралды 4,9 М.
Modern JS Toolchains (Biome, Oxc + More)
47:52
Syntax
Рет қаралды 4,6 М.
UV for Python… (Almost) All Batteries Included
17:35
ArjanCodes
Рет қаралды 96 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 156 М.
Новый конфиг для Eslint 9
18:59
Михаил Непомнящий
Рет қаралды 15 М.
Build a Blog in Next.js with Directus
54:33
Colby Fayock
Рет қаралды 4 М.
MDX in Next.js is Easy Now
24:16
Colby Fayock
Рет қаралды 8 М.
How To Handle Permissions Like A Senior Dev
36:39
Web Dev Simplified
Рет қаралды 364 М.
Ryan Carniato | Crossing the Network Chasm | ViteConf 2024
20:41
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН