컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Closure Linter가 지원 중단됨
JavaScript의 구문이 ES2015 이상으로 계속 발전함에 따라 Closure Linter를 최신 상태로 유지하기가 점점 더 어려워지고 있습니다. 이 채널은 직원이 없으며 유지관리되지 않고 지원 중단되었습니다.
Google의 대부분 프로젝트가 새 린터로 이전했습니다.
Closure 도구를 사용하는 팀의 경우 Closure Compiler를 기반으로 하는 새 린터를 사용하는 것이 좋습니다. 컴파일러에 --jscomp_warning=lintChecks
를 전달하거나 독립형 린터 바이너리를 빌드하여 이 작업을 실행할 수 있습니다. 자세한 내용은
Closure Compiler 위키
를 참고하세요. 이 페이지의 나머지 정보는 아직 Closure Linter를 사용하는 팀을 위해 한동안 유지됩니다.
Closure Linter란 무엇인가요?
Closure Linter는 JavaScript 파일에서 연산자 배치, 누락된 세미콜론, 공백, JsDoc 주석의 존재 등 스타일 문제를 확인하는 유틸리티입니다.
Closure Linter는 무엇을 할 수 있나요?
Closure Linter는 프로젝트의 모든 JavaScript 코드가 Google JavaScript 스타일 가이드의 가이드라인을 따르는지 확인합니다. 또한 일반적인 오류를 자동으로 수정할 수 있어 시간을 절약하고 코딩에 집중할 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eClosure Linter is deprecated and no longer actively maintained due to difficulties in keeping up with evolving JavaScript syntax.\u003c/p\u003e\n"],["\u003cp\u003eGoogle recommends using the new linter integrated with Closure Compiler by passing \u003ccode\u003e--jscomp_warning=lintChecks\u003c/code\u003e to the compiler or building the standalone linter binary.\u003c/p\u003e\n"],["\u003cp\u003eClosure Linter, while deprecated, is a tool used for checking JavaScript files for style issues, ensuring code follows Google JavaScript Style Guide, and automatically fixing common errors.\u003c/p\u003e\n"]]],[],null,["Closure Linter is deprecated\n----------------------------\n\n\nAs the syntax of JavaScript has continued to evolve, with ES2015\nand beyond, it has become increasingly difficult to keep Closure\nLinter up to date. It is unstaffed, unmaintained, and deprecated.\nMost projects at Google have migrated to the new linter.\n\n\nFor teams using the Closure tools, we recommend they use the new\nlinter based on the Closure Compiler instead. You can do this by\npassing `--jscomp_warning=lintChecks` to the compiler,\nor building the standalone linter binary; see the\n[Closure Compiler wiki](https://github.com/google/closure-compiler/wiki/Lint-checks) for details. The rest of the information on this page will be\nkept up for a while, for teams who are still using Closure Linter.\n\nWhat is the Closure Linter?\n---------------------------\n\n\nThe Closure Linter is a utility that checks JavaScript files for\nstyle issues such as operator placement, missing semicolons,\nspacing, the presence of JsDoc annotations, and more.\n\nWhat can the Closure Linter do for me?\n--------------------------------------\n\n\nThe Closure Linter ensures that all of your project's JavaScript\ncode follows the guidelines in\nthe [Google\nJavaScript Style Guide](https://google.github.io/styleguide/javascriptguide.xml). It can also automatically fix many\ncommon errors, which saves you time and lets you focus on coding. \n\nHow do I start?\n---------------\n\n\n- [Download Closure Linter](https://github.com/google/closure-linter/zipball/master).\n- Read [How to Use Closure Linter](/closure/utilities/docs/linter_howto).\n- Browse [the source code](https://github.com/google/closure-linter/).\n- Questions? Ask the [discussion forum](http://groups.google.com/group/closure-linter-discuss).\n\n\u003cbr /\u003e"]]