Skip to content

Commit 066ea69

Browse files
authored
Merge pull request #7 from htmlhint/dev/coliff/re-org-content
Move site to docs
2 parents 5b603cc + 317a2a4 commit 066ea69

17 files changed

+41
-46
lines changed

.htmlhintrc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,28 @@
66
"attr-sorted": false,
77
"attr-unsafe-chars": false,
88
"attr-value-double-quotes": true,
9+
"attr-value-no-duplication": true,
910
"attr-value-not-empty": false,
10-
"attr-value-single-quotes": false,
1111
"attr-whitespace": false,
12+
"button-type-require": true,
1213
"doctype-first": false,
1314
"doctype-html5": true,
1415
"head-script-disabled": false,
15-
"href-abs-or-rel": false,
16+
"h1-require": true,
1617
"html-lang-require": true,
1718
"id-class-ad-disabled": false,
18-
"id-class-value": false,
1919
"id-unique": true,
2020
"inline-script-disabled": false,
2121
"inline-style-disabled": false,
2222
"input-requires-label": false,
23+
"main-require": true,
24+
"meta-charset-require": true,
25+
"meta-description-require": true,
26+
"meta-viewport-require": true,
2327
"script-disabled": false,
24-
"space-tab-mixed-disabled": true,
2528
"spec-char-escape": false,
2629
"src-not-empty": true,
27-
"style-disabled": false,
30+
"tag-no-obsolete": true,
2831
"tag-pair": false,
2932
"tag-self-close": false,
3033
"tagname-lowercase": true,

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.html
2+
*.min.*

css/bootstrap-responsive.min.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

css/bootstrap.min.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/css/bootstrap.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

index.html renamed to docs/index.html

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,31 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>HTMLHint - The Static Code Analysis Tool you need for your HTML</title>
65
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>HTMLHint - The Static Code Analysis Tool you need for your HTML</title>
7+
<meta name="description" content="HTMLHint - The Static Code Analysis Tool you need for your HTML">
78
<link rel="icon" href="favicon.ico" type="image/x-icon">
89
<link href="css/bootstrap.min.css" rel="stylesheet">
9-
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
1010
<link href="css/index.css" rel="stylesheet">
11-
<link rel="canonical" href="https://htmlhint-playground.netlify.app/">
12-
<script defer data-domain="htmlhint-playground.netlify.app" src="https://plausible.io/js/script.hash.outbound-links.pageview-props.tagged-events.js"></script>
11+
<link rel="canonical" href="https://playground.htmlhint.com/">
12+
<script defer data-domain="playground.htmlhint.com" src="https://plausible.io/js/script.hash.outbound-links.pageview-props.tagged-events.js"></script>
1313
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
1414
</head>
1515
<body>
16-
<div class="container-narrow">
17-
<a href="https://github.com/htmlhint/HTMLHint"><img style="position: absolute; top: 0; right: 0; border: 0;" src="img/forkme.png" alt="Fork me on GitHub"></a>
18-
<div class="masthead">
16+
<div class="container">
17+
<a href="https://github.com/htmlhint/HTMLHint">
18+
<img style="position: absolute; top: 0; right: 0; border: 0;" src="img/forkme.png" alt="Fork me on GitHub">
19+
</a>
20+
<nav class="masthead">
1921
<ul class="nav nav-pills pull-right">
2022
<li class="active"><a href="https://htmlhint.com/">Home</a></li>
2123
<li><a href="https://github.com/htmlhint/HTMLHint/wiki/About">About</a></li>
22-
<li><a href="https://github.com/htmlhint/HTMLHint/wiki/Usage">Usage</a></li>
23-
<li><a href="https://github.com/htmlhint/HTMLHint/wiki/Rules">Rules</a></li>
24-
<li><a href="https://github.com/htmlhint/HTMLHint/wiki/Developer-guide">Develop</a></li>
24+
<li><a href="https://htmlhint.com/usage/cli/">Usage</a></li>
25+
<li><a href="https://htmlhint.com/rules/">Rules</a></li>
26+
<li><a href="https://github.com/htmlhint/HTMLHint/">Develop</a></li>
2527
</ul>
26-
<h3 class="muted">HTMLHint <span id="ver"></span></h3>
27-
</div>
28+
<h1 class="muted">HTMLHint <span id="ver"></span></h1>
29+
</nav>
2830
<hr>
2931
<div id="editor-title">
3032
<strong>Place your HTML code here:</strong>
@@ -79,12 +81,12 @@ <h3 class="muted">HTMLHint <span id="ver"></span></h3>
7981

8082
<div id="stat-bar">
8183
<span id="hint-state"></span>
82-
<div id="button-area"><button id="show-last" class="btn btn-mini btn-primary" type="button" title="Ctrl + Left">Previous</button> <button id="show-next" class="btn btn-mini btn-primary" type="button" title="Ctrl + Right">Next</button></div>
84+
<div id="button-area"><button id="show-last" class="btn btn-sm btn-primary" type="button" title="Ctrl + Left">Previous</button> <button id="show-next" class="btn btn-sm btn-primary" type="button" title="Ctrl + Right">Next</button></div>
8385
</div>
8486

8587
<div id="options">
86-
<div class="row-fluid">
87-
<div class="span3">
88+
<div class="row">
89+
<div class="col-12 col-sm-4">
8890
<h3>Standard</h3>
8991
<ul>
9092
<li><label class="checkbox" title="Tagname must be lowercase."><input type="checkbox" id="tagname-lowercase"> tagname-lowercase</label></li>
@@ -101,19 +103,19 @@ <h3>Standard</h3>
101103
<li><label class="checkbox" title="&lt;title&gt; must be present in &lt;head&gt; tag.."><input type="checkbox" id="title-require"> title-require</label></li>
102104
</ul>
103105
</div>
104-
<div class="span3">
106+
<div class="col-12 col-sm-4">
105107
<h3>Performance</h3>
106108
<ul>
107109
<li><label class="checkbox" title="The script tag can not be used in head."><input type="checkbox" id="head-script-disabled"> head-script-disabled</label></li>
108110
</ul>
109111
</div>
110-
<div class="span2">
112+
<div class="col-12 col-sm-4">
111113
<h3>Accessibility</h3>
112114
<ul>
113115
<li><label class="checkbox" title="Alt of img tag must be set value."><input type="checkbox" id="alt-require"> alt-require</label></li>
114116
</ul>
115117
</div>
116-
<div class="span3">
118+
<div class="col-12 col-sm-4">
117119
<h3>Specification</h3>
118120
<ul>
119121
<li><label class="checkbox" title="Doctype must be html5."><input type="checkbox" id="doctype-html5"> doctype-html5</label></li>
@@ -136,17 +138,17 @@ <h3>Specification</h3>
136138
<li><label class="checkbox" title="Attribute value cant not use unsafe chars."><input type="checkbox" id="attr-unsafe-chars"> attr-unsafe-chars</label></li>
137139
</ul>
138140
</div>
139-
<div class="span1">
141+
<div class="col-12 col-sm-4">
140142
<h3>Other</h3>
141143
<ul>
142-
<li><label class="checkbox" title="Scan css with csslint."><input type="checkbox" id="csslint"> csslint</label></li>
144+
<li><label class="checkbox" title="Scan CSS with csslint."><input type="checkbox" id="csslint"> csslint</label></li>
143145
<li><label class="checkbox" title="Scan script with jshint."><input type="checkbox" id="jshint"> jshint</label></li>
144146
</ul>
145147
</div>
146148
</div>
147149
<br>
148-
<div class="row-fluid">
149-
<div class="span2 offset5">
150+
<div class="row">
151+
<div class="text-center col-12">
150152
<a id="download-config" class="btn btn-block btn-success" type="button">
151153
Download rc
152154
<i class="icon-download-alt icon-white"></i>
@@ -161,7 +163,7 @@ <h3>Other</h3>
161163
</div>
162164
<script src="js/jquery-1.9.1.min.js"></script>
163165
<script src="js/jquery.cookie.js"></script>
164-
<script src="js/htmlhint.js"></script>
166+
<script src="js/htmlhint.min.js"></script>
165167
<script src="js/ace/ace.js" charset="utf-8"></script>
166168
<script src="js/csslint.js"></script>
167169
<script src="js/jshint.js"></script>

0 commit comments

Comments
 (0)