Skip to content

Commit 8900ca6

Browse files
authored
ci: Fix linting (#492)
1 parent 2e9b3fe commit 8900ca6

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"scripts": {
66
"format": "prettier --write . && yarn lint:fix",
7-
"lint": "eslint .",
7+
"lint": "eslint --no-eslintrc --config .eslintrc.js .",
88
"lint:fix": "yarn lint --fix"
99
},
1010
"devDependencies": {

picocss/app/routes/examples.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function Examples() {
9292
<fieldset>
9393
<label htmlFor="terms">
9494
<input type="checkbox" role="switch" id="terms" name="terms" />I
95-
agree to the <a href="#">Privacy Policy</a>
95+
agree to the <a href="#privacy-policy">Privacy Policy</a>
9696
</label>
9797
</fieldset>
9898
</form>
@@ -125,15 +125,15 @@ export default function Examples() {
125125
<h3>Inline text elements</h3>
126126
<div className="grid">
127127
<p>
128-
<a href="#">Primary link</a>
128+
<a href="#primary-link">Primary link</a>
129129
</p>
130130
<p>
131-
<a href="#" className="secondary">
131+
<a href="#secondary" className="secondary">
132132
Secondary link
133133
</a>
134134
</p>
135135
<p>
136-
<a href="#" className="contrast">
136+
<a href="#contrast" className="contrast">
137137
Contrast link
138138
</a>
139139
</p>

socket.io/server.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import { createServer } from "http";
2+
13
import { createRequestHandler } from "@remix-run/express";
24
import compression from "compression";
35
import express from "express";
46
import morgan from "morgan";
5-
import { createServer } from "http";
67
import { Server } from "socket.io";
78

89
const viteDevServer =

unocss/app/root.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LinksFunction } from "@remix-run/node";
1+
import type { LinksFunction } from "@remix-run/node";
22
import {
33
Links,
44
Meta,

0 commit comments

Comments
 (0)