chore: more cleanup

This commit is contained in:
Thomas Allmer
2022-11-06 21:57:47 +01:00
parent b29209c512
commit 30cd84811c
27 changed files with 4 additions and 113 deletions

View File

@@ -8,10 +8,10 @@ const cli = new CheckWebsiteCli();
const cwd = process.cwd();
const configFiles = [
path.join('config', 'rocket.config.js'),
path.join('config', 'rocket.config.mjs'),
'rocket.config.js',
'rocket.config.mjs',
path.join('config', 'check-website.config.js'),
path.join('config', 'check-website.config.mjs'),
'check-website.config.js',
'check-website.config.mjs',
];
for (const configFile of configFiles) {

View File

@@ -1,9 +0,0 @@
<!-- valid -->
<a href="//rocket.modern-web.dev/"></a>
<a href="http://rocket.modern-web.dev/"></a>
<a href="https://rocket.modern-web.dev/"></a>
<!-- invalid -->
<a href="//rocket.modern-web.dev/unexists-page/"></a>
<a href="http://rocket.modern-web.dev/unexists-page/"></a>
<a href="https://rocket.modern-web.dev/unexists-page/"></a>

View File

@@ -1,11 +0,0 @@
<img src="/missing.png" alt="" />
<img src="./missing.png" alt="" />
<img src="/absolute/missing.png" alt="" />
<img src="./relative/missing.png" alt="" />
<!-- valid -->
<img src="/empty.png" alt="" />
<img src="./empty.png" alt="" />
<img src="./empty.png " alt="" />
<img src=" ./empty.png " alt="" />
<img src="./empty.png?data=in&query=params" alt="" />

View File

@@ -1,16 +0,0 @@
<a href="./page.html"></a>
<a href="./page.html#first-headline"></a>
<a href="./page.html#missing-headline"></a>
<a href="./missing-page.html#missing-headline"></a>
<a href="#local"></a>
<a href="#local-missing"></a>
<p id="local"></p>
<a href="#audit-your-angular-app&#39;s-accessibility-with-codelyzer">
Audit your Angular app's accessibility with codelyzer
</a>
<h1 id="audit-your-angular-app&#39;s-accessibility-with-codelyzer">Audit your Angular app's accessibility with codelyzer</h1>
<a href="#local:~:text=put%20your%20labels%20above%20your%20inputs">Sign-in form best practices</a>

View File

@@ -1 +0,0 @@
<h1 id="first-headline">First Headline</h1>

View File

@@ -1,4 +0,0 @@
<a href="./page/index.html"></a>
<a href="./page/#my-anchor"></a>
<a href="./missing-folder/"></a>
<a href="./missing-folder/#my-anchor"></a>

View File

@@ -1 +0,0 @@
<p id="my-anchor"></p>

View File

@@ -1,8 +0,0 @@
<a href="/absolute/index.html"></a>
<a href="./relative/index.html"></a>
<a href="./relative/subfolder/index.html"></a>
<!-- valid -->
<a href="./page.html"></a>
<a href=" ./page.html "></a>
<a href=" /page.html "></a>

View File

@@ -1,9 +0,0 @@
<a href="/absolute/index.html"></a>
<a href="./relative/index.html"></a>
<!-- valid -->
<a href="./page.html"></a>
<a href=" ./page.html "></a>
<a href=" /page.html "></a>
<a href=""></a>
<a href=":~:text=put%20your%20labels%20above%20your%20inputs">Sign-in form best practices</a>

View File

@@ -1,2 +0,0 @@
<a href="/absolute-page/index.html">absolute page</a>
<a href="./relative-page/index.html">relative page</a>

View File

@@ -1,3 +0,0 @@
<a href="/foo"></a>
<a href="./foo"></a>
<a href="./foo#my-anchor"></a>

View File

@@ -1,2 +0,0 @@
<a href="about.html">About</a>
<a href="http://localhost/about.html">About Absolute</a>

View File

@@ -1,9 +0,0 @@
<picture>
<source srcset="/images/empty-300.png 300w, /images/empty-600.png?data=in&query=params 600w" type="image/jpeg" sizes="(min-width: 62.5em) 25vw, (min-width: 30.625em) 50vw, 100vw">
<img src="/images/empty.png" alt="Empty" width="300" height="225">
</picture>
<picture>
<source srcset="/images/missing-300.png 300w, /images/missing-600.png 600w" type="image/jpeg" sizes="(min-width: 62.5em) 25vw, (min-width: 30.625em) 50vw, 100vw">
<img src="/images/missing.png" alt="Empty" width="300" height="225">
</picture>

View File

@@ -1,3 +0,0 @@
<a href="mailto:foo@bar.com"></a>
<!-- encoded mailto links -->
<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;"></a>

View File

@@ -1,2 +0,0 @@
<a href="sketch://add-library?url=https%3A%2F%2Fmyexample.com%2Fdesign%2Fui-kit.xml"></a>
<a href="vscode://file/c:/myProject/package.json:5:10"></a>

View File

@@ -1 +0,0 @@
<a href="tel:99999"></a>

View File

@@ -1,7 +0,0 @@
<a href="../price/"></a>
<img src="./images/team.png" />
<footer>
<a href="/aboot"></a>
</footer>

View File

@@ -1,5 +0,0 @@
<a href="/price/#my-teams"></a>
<footer>
<a href="/aboot"></a>
</footer>

View File

@@ -1,5 +0,0 @@
<a href="./prce"></a>
<footer>
<a href="/aboot"></a>
</footer>

View File

@@ -1,3 +0,0 @@
<footer>
<a href="/aboot"></a>
</footer>

View File

@@ -1,7 +0,0 @@
<h1 id="overview"></h1>
<h2 id="teams"></h2>
<footer>
<a href="/aboot"></a>
</footer>