Skip to content

Commit

Permalink
ci: Fix linting (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
machour authored May 29, 2024
1 parent 2e9b3fe commit 8900ca6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"format": "prettier --write . && yarn lint:fix",
"lint": "eslint .",
"lint": "eslint --no-eslintrc --config .eslintrc.js .",
"lint:fix": "yarn lint --fix"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions picocss/app/routes/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function Examples() {
<fieldset>
<label htmlFor="terms">
<input type="checkbox" role="switch" id="terms" name="terms" />I
agree to the <a href="#">Privacy Policy</a>
agree to the <a href="#privacy-policy">Privacy Policy</a>
</label>
</fieldset>
</form>
Expand Down Expand Up @@ -125,15 +125,15 @@ export default function Examples() {
<h3>Inline text elements</h3>
<div className="grid">
<p>
<a href="#">Primary link</a>
<a href="#primary-link">Primary link</a>
</p>
<p>
<a href="#" className="secondary">
<a href="#secondary" className="secondary">
Secondary link
</a>
</p>
<p>
<a href="#" className="contrast">
<a href="#contrast" className="contrast">
Contrast link
</a>
</p>
Expand Down
3 changes: 2 additions & 1 deletion socket.io/server.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { createServer } from "http";

import { createRequestHandler } from "@remix-run/express";
import compression from "compression";
import express from "express";
import morgan from "morgan";
import { createServer } from "http";
import { Server } from "socket.io";

const viteDevServer =
Expand Down
2 changes: 1 addition & 1 deletion unocss/app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LinksFunction } from "@remix-run/node";
import type { LinksFunction } from "@remix-run/node";
import {
Links,
Meta,
Expand Down

0 comments on commit 8900ca6

Please sign in to comment.