[{"data":1,"prerenderedAt":163},["ShallowReactive",2],{"term-l\u002Flinter":3,"related-l\u002Flinter":147},{"id":4,"title":5,"acronym":6,"body":7,"category":128,"description":129,"difficulty":130,"extension":131,"letter":132,"meta":133,"navigation":86,"path":134,"related":135,"seo":141,"sitemap":142,"stem":145,"subcategory":6,"__hash__":146},"terms\u002Fterms\u002Fl\u002Flinter.md","Linter",null,{"type":8,"value":9,"toc":122},"minimark",[10,15,32,36,39,43,111,115,118],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18,19,23,24,27,28,31],"p",{},"A linter is the code police — it automatically checks your code for style violations, bad patterns, and potential bugs without running it. Forget a semicolon, use ",[20,21,22],"code",{},"var"," instead of ",[20,25,26],{},"const",", or leave a ",[20,29,30],{},"console.log"," in — the linter will catch you.",[11,33,35],{"id":34},"real-talk","Real Talk",[16,37,38],{},"A linter is a static analysis tool that flags programming errors, stylistic issues, and suspicious constructs in source code. Common linters include ESLint (JavaScript), Pylint (Python), and RuboCop (Ruby). They enforce consistency and catch bugs early.",[11,40,42],{"id":41},"show-me-the-code","Show Me The Code",[44,45,50],"pre",{"className":46,"code":47,"language":48,"meta":49,"style":49},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Run ESLint on all TypeScript files\nnpx eslint . --ext .ts,.tsx\n\n# Auto-fix fixable issues\nnpx eslint . --ext .ts,.tsx --fix\n","bash","",[20,51,52,61,81,88,94],{"__ignoreMap":49},[53,54,57],"span",{"class":55,"line":56},"line",1,[53,58,60],{"class":59},"sHwdD","# Run ESLint on all TypeScript files\n",[53,62,64,68,72,75,78],{"class":55,"line":63},2,[53,65,67],{"class":66},"sBMFI","npx",[53,69,71],{"class":70},"sfazB"," eslint",[53,73,74],{"class":70}," .",[53,76,77],{"class":70}," --ext",[53,79,80],{"class":70}," .ts,.tsx\n",[53,82,84],{"class":55,"line":83},3,[53,85,87],{"emptyLinePlaceholder":86},true,"\n",[53,89,91],{"class":55,"line":90},4,[53,92,93],{"class":59},"# Auto-fix fixable issues\n",[53,95,97,99,101,103,105,108],{"class":55,"line":96},5,[53,98,67],{"class":66},[53,100,71],{"class":70},[53,102,74],{"class":70},[53,104,77],{"class":70},[53,106,107],{"class":70}," .ts,.tsx",[53,109,110],{"class":70}," --fix\n",[11,112,114],{"id":113},"when-youll-hear-this","When You'll Hear This",[16,116,117],{},"\"The linter is failing CI — fix the warnings before merging.\" \u002F \"Set up ESLint with the project's rules on day one.\"",[119,120,121],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":49,"searchDepth":63,"depth":63,"links":123},[124,125,126,127],{"id":13,"depth":63,"text":14},{"id":34,"depth":63,"text":35},{"id":41,"depth":63,"text":42},{"id":113,"depth":63,"text":114},"general","A linter is the code police — it automatically checks your code for style violations, bad patterns, and potential bugs without running it.","beginner","md","l",{},"\u002Fterms\u002Fl\u002Flinter",[136,137,138,139,140],"Formatter","DX","Codebase","Build","Open Source",{"title":5,"description":129},{"changefreq":143,"priority":144},"weekly",0.7,"terms\u002Fl\u002Flinter","3XOK1DdziJd0btQXa63Qf76pQSgGQEjBlOykHmv9DrM",[148,151,154,157,160],{"title":139,"path":149,"acronym":6,"category":128,"difficulty":130,"description":150},"\u002Fterms\u002Fb\u002Fbuild","A build is the process of turning your development code into something a real computer or browser can run efficiently.",{"title":138,"path":152,"acronym":6,"category":128,"difficulty":130,"description":153},"\u002Fterms\u002Fc\u002Fcodebase","The codebase is the whole collection of source code that makes up a project — every file, folder, and line of code.",{"title":137,"path":155,"acronym":137,"category":128,"difficulty":130,"description":156},"\u002Fterms\u002Fd\u002Fdx","DX (Developer Experience) is UX but for developers. How painful is it to set up the project? How fast is the feedback loop?",{"title":136,"path":158,"acronym":6,"category":128,"difficulty":130,"description":159},"\u002Fterms\u002Ff\u002Fformatter","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...",{"title":140,"path":161,"acronym":6,"category":128,"difficulty":130,"description":162},"\u002Fterms\u002Fo\u002Fopen-source","Open source means the recipe is public. Anyone can read it, copy it, tweak it, and share their version. It's the opposite of a secret sauce.",1776518292382]