संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Closure Linter का इस्तेमाल अब नहीं किया जा सकता
ES2015 और इसके बाद के वर्शन में, JavaScript के सिंटैक्स में लगातार बदलाव हो रहे हैं. इसलिए, Closure Linter को अप-टू-डेट रखना मुश्किल हो गया है. इस पर कोई कर्मचारी नहीं है, इसे मैनेज नहीं किया जाता, और इसके इस्तेमाल पर रोक लगा दी गई है.
Google के ज़्यादातर प्रोजेक्ट, नए लिंटर पर माइग्रेट हो गए हैं.
Closure टूल का इस्तेमाल करने वाली टीमों के लिए, हमारा सुझाव है कि वे Closure Compiler पर आधारित नए लिंटर का इस्तेमाल करें. इसके लिए, --jscomp_warning=lintChecks
को कंपाइलर को पास करें या स्टैंडअलोन लिंटर बाइनरी बनाएं. ज़्यादा जानकारी के लिए,
Closure Compiler wiki
देखें. इस पेज पर मौजूद बाकी जानकारी को कुछ समय तक सेव रखा जाएगा. ऐसा उन टीमों के लिए किया जाएगा जो अब भी Closure Linter का इस्तेमाल कर रही हैं.
Closure Linter क्या है?
Closure Linter एक ऐसा टूल है जो JavaScript फ़ाइलों में स्टाइल से जुड़ी समस्याओं की जांच करता है. जैसे, ऑपरेटर की जगह, सेमीकोलन का न होना, स्पेसिंग, JsDoc एनोटेशन का मौजूद होना वगैरह.
Closure Linter मेरे लिए क्या-क्या कर सकता है?
Closure Linter यह पक्का करता है कि आपके प्रोजेक्ट का पूरा JavaScript कोड, Google JavaScript स्टाइल गाइड में दिए गए दिशा-निर्देशों का पालन करता हो. यह कई सामान्य गड़बड़ियों को अपने-आप ठीक कर सकता है. इससे आपका समय बचता है और आपको कोडिंग पर ध्यान देने का मौका मिलता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]