PageSourceSearch

https://jshint.com/

html jshint.com collected 2026-10-01 08:42:11 UTC 4,562 bytes, 133 lines download raw bytes

1<!doctype html>
2
3<html lang=en>
4  <head>
5    <title>JSHint, a JavaScript Code Quality Tool</title>
6
7    <meta charset=utf8>
8    <meta name=description content="JSHint, a JavaScript Code Quality Tool">
9    <meta name=author      content="Anton Kovalyov">
10
11    <!--[if IE]>
12    <meta http-equiv="refresh" content="0; url=/about/">
13    <![endif]-->
14    <!-- gh-pages -->
15
16    
17    <link rel=stylesheet href="/res/index.min.css">
18    
19
20    
20<script>
21      if (window.self !== window.top)
22        window.top.location.href = document.location.href;
23
24      var _gaq = _gaq || [];
25      _gaq.push(["_setAccount", "UA-126146-15"]);
26      _gaq.push(["_setDomainName", "jshint.com"]);
27      _gaq.push(["_trackPageview"]);
28    </script>
28
29
30    
31    
31<script src="/res/scripts.min.js"></script>
31
32    
33  </head>
34
35  <body onload="main()">
36    <div class="whiteboard">
37      <div class="toolbar">
38        <button data-type="toggle" data-target="configure,output">Configure</button>
39      </div>
40
41      <div id="configure">
42        <div>
43          <h4>Report</h4>
44          <button data-type="pref" id="complex">Cyclomatic complexity</button>
45          <button data-type="pref" id="unused">Unused variables</button>
46          <button data-type="pref" id="undef">Undefined variables</button>
47        </div>
48
49        <div>
50          <h4>Warn</h4>
51          <button data-type="pref" id="eqnull">About == null</button>
52          <button data-type="pref" id="debug">About debugging code</button>
53          <button data-type="pref" id="forin">About unsafe for..in</button>
54          <button data-type="pref" id="noarg">About arguments.caller and .callee</button>
55          <button data-type="pref" id="boss">About assignments if/for/...</button>
56          <button data-type="pref" id="loopfunc">About functions inside loops</button>
57          <button data-type="pref" id="evil">About eval</button>
58          <button data-type="pref" id="laxbreak">About unsafe line breaks</button>
59          <button data-type="pref" id="bitwise">About potential typos in logical operators</button>
60          <button data-type="pref" id="strict">When code is not in strict mode</button>
61          <button data-type="pref" id="nonew">When new is used for side-effects</button>
62        </div>
63
64        <div>
65          <h4>Assume</h4>
66          <button data-type="pref" id="browser">Browser</button>
67          <button data-type="pref" id="node">NodeJS</button>
68          <button data-type="pref" id="jquery">jQuery</button>
69          <button data-type="pref" id="devel">Development (console, etc.)</button>
70          <button data-type="pref" id="esnext">New JavaScript features (ES6)</button>
71          <button data-type="pref" id="moz">Mozilla JavaScript extensions</button>
72          <button data-type="pref" id="es3">Older environments (ES3)</button>
73        </div>
74      </div>
75
76      <div id="output">
77        <div data-type="metrics" class="report" style="display:none">
78          <h4>Metrics</h4>
79          <div></div>
80        </div>
81        <table data-type="errors" class="report"></table>
82        <table data-type="undef" class="report"></table>
83        <table data-type="unused" class="report"></table>
84      </div>
85    </div>
86
87    <div class="sidebar">
88      <h1><img src="/res/jshint-dark.png" alt="JSHint"></h1>
89      <span class="version">
90        <a href="https://github.com/jshint/jshint/releases/tag/2.13.6">version 2.13.6</a>
91      </span>
92
93      <ul class="links">
94        <li><a href="/about">About</a></li>
95        <li><a href="/docs">Documentation</a></li>
96        <li><a href="/install">Install</a></li>
97        <li><a href="/contribute">Contribute</a></li>
98        <li><a href="/blog">Blog</a></li>
99      </ul>
100    </div>
101
102    
102<script id="text-intro" type="text/jshint">
103      // Hello.
104      //
105      // This is JSHint, a tool that helps to detect errors and potential
106      // problems in your JavaScript code.
107      //
108      // To start, simply enter some JavaScript anywhere on this page. Your
109      // report will appear on the right side.
110      //
111      // Additionally, you can toggle specific options in the Configure
112      // menu.
113
114      function main() {
115        return 'Hello, World!';
116      }
117
118      main();
119    </script>
119
120
121    
121<script>
122      (function () {
123        var ga = document.createElement("script");
124        ga.type = "text/javascript";
125        ga.async = true;
126        ga.src = "//www.google-analytics.com/ga.js";
127
128        var st = document.getElementsByTagName("script")[0];
129        st.parentNode.insertBefore(ga, st);
130      })();
131    </script>
131
132  </body>
133</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.