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
-