From 0e445c4e05fd376f78e7a89b14f366a0fb932536 Mon Sep 17 00:00:00 2001 From: coliff Date: Tue, 24 Jun 2025 17:56:16 +0900 Subject: [PATCH] docs fixes --- .gitattributes | 1 + .github/workflows/spellcheck.yml | 2 +- .npmrc | 2 ++ .nvmrc | 1 + .prettierignore | 1 + CNAME | 1 - docs/css/index.css | 56 ++++++++++++++++---------------- docs/index.html | 4 ++- docs/js/htmlhint.min.js | 8 +++++ package.json | 11 +++++-- 10 files changed, 53 insertions(+), 34 deletions(-) create mode 100644 .gitattributes create mode 100644 .npmrc create mode 100644 .nvmrc delete mode 100644 CNAME create mode 100644 docs/js/htmlhint.min.js diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index c96c417..54c917f 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -1,4 +1,4 @@ -name: 'Check spelling' +name: "Check spelling" on: push: branches: [main] diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..11acd25 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +lockfile-version = 3 +registry = 'https://registry.npmjs.org/' diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/.prettierignore b/.prettierignore index 3145967..cb13d44 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ *.html *.min.* +*.js diff --git a/CNAME b/CNAME deleted file mode 100644 index 8eebf36..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -htmlhint.com \ No newline at end of file diff --git a/docs/css/index.css b/docs/css/index.css index 696dfa6..377f043 100644 --- a/docs/css/index.css +++ b/docs/css/index.css @@ -12,52 +12,52 @@ body { margin: 20px 0; } -.muted span{ +.muted span { font-size: 12px; } -#editor-title{ - padding:20px 0; +#editor-title { + padding: 20px 0; } -#editor-toolbar{ - float:right; +#editor-toolbar { + float: right; } -#editor{ - border:1px solid #ccc; - border-radius: 4px; - height:300px; +#editor { + border: 1px solid #ccc; + border-radius: 4px; + height: 300px; } -#stat-bar{ - padding:10px 0; +#stat-bar { + padding: 10px 0; } -#button-area{ - float:right; - padding:0 10px; - display:none; +#button-area { + float: right; + padding: 0 10px; + display: none; } -.footer{ - text-align:center; +.footer { + text-align: center; } -#options{ - padding:20px; +#options { + padding: 20px; } -#options h3{ - font-size: 18px; +#options h3 { + font-size: 18px; } -#options ul{ - list-style: none; - margin: 0; +#options ul { + list-style: none; + margin: 0; } -#options li div{ - display:none; - padding-left:20px; -} \ No newline at end of file +#options li div { + display: none; + padding-left: 20px; +} diff --git a/docs/index.html b/docs/index.html index e6abf57..f957bba 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,9 +6,11 @@ HTMLHint - The Static Code Analysis Tool you need for your HTML + + @@ -159,7 +161,7 @@

Other


-