Intro-to-Vue-3 icon indicating copy to clipboard operation
Intro-to-Vue-3 copied to clipboard

main.js uses 4 spaces for indents

Open peterVG opened this issue 3 years ago • 1 comments

It it Javascript best practice to use 2 spaces for indents as enforced by most linters (eg. ESlint, StandardJS, Prettifier). Since this is a beginner tutorial, it's helpful to start us off with good habits.

peterVG avatar Mar 06 '21 23:03 peterVG

ESlint documentation acknowledges the existence of other acceptable style guides per https://eslint.org/docs/latest/rules/indent. Its probably just best then to adopt whichever of those acceptable styles makes you happy or just adopt the one that your linting tool prefers.

Sn3akyP3t3 avatar Jan 10 '23 19:01 Sn3akyP3t3