Code Style
ELI5 - The Vibe Check
Code style is the set of conventions your team agrees on for how code should look, tabs or spaces, single or double quotes, where the curly brace goes, so that reading a file written by five different people doesn't feel like reading five different handwriting styles stitched together. It's rarely about which choice is objectively correct, it's about everyone making the same choice so the codebase reads as one voice instead of an argument.
Real Talk
Code style refers to the conventions governing the formatting and stylistic presentation of source code, such as indentation, naming conventions, line length, and bracket placement, as distinct from code correctness or architecture. It is typically enforced automatically through formatters like Prettier and linters like ESLint configured with a shared style guide, removing style debates from code review entirely so reviewers can focus on logic instead.
When You'll Hear This
"Don't argue about code style in review, that's what the linter config is for." / "We adopted a shared code style and cut formatting comments out of PRs completely."
Related Terms
ESLint
ESLint is the code cop that reads your JavaScript and yells at you when you do something wrong or inconsistent.
Formatter
A formatter automatically makes all your code look consistent — same indentation, same quote style, same line breaks — so the whole team's code looks like...
Linter
A linter is the code police — it automatically checks your code for style violations, bad patterns, and potential bugs without running it.
Prettier
Prettier is an opinionated code formatter that automatically reformats your code to look consistent. Single quotes or double quotes? 2 spaces or 4?