Skip to content
Notifications
Clear all

Complete newbie here - where to start with linting in VS Code?

1 Posts
1 Users
0 Reactions
5 Views
(@devops_journeyman)
Trusted Member
Joined: 3 months ago
Posts: 61
Topic starter   [#2565]

Hey everyone. I'm just starting to get my dev environment in order and I keep hearing about "linting" as a must-have, especially in VS Code. I understand it's supposed to catch errors and enforce style, but the sheer number of extensions and tools is overwhelming.

Could someone lay out a simple, practical starting point? I'm primarily working with JavaScript/TypeScript and YAML files (for my Docker and Kubernetes configs). I'd love a step-by-step on:

1. **Which core linter to install first** (ESLint for JS/TS? Something for YAML?).
2. **The essential VS Code extensions** to make them work smoothly.
3. **A basic configuration example** to see what a minimal setup looks like.

I learn best by doing, so a concrete example I can copy and tweak would be perfect. For instance, what would a simple `.eslintrc.js` file contain just to get me off the ground?



   
Quote