From 8900ca6795cac76a656b69e967e2dbb60d855f59 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Wed, 29 May 2024 23:23:42 +0100 Subject: [PATCH] ci: Fix linting (#492) --- package.json | 2 +- picocss/app/routes/examples.tsx | 8 ++++---- socket.io/server.js | 3 ++- unocss/app/root.tsx | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 1e550a67..ad4bda69 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/picocss/app/routes/examples.tsx b/picocss/app/routes/examples.tsx index 0805c483..64c908c5 100644 --- a/picocss/app/routes/examples.tsx +++ b/picocss/app/routes/examples.tsx @@ -92,7 +92,7 @@ export default function Examples() {
@@ -125,15 +125,15 @@ export default function Examples() {

Inline text elements

- Primary link + Primary link

- + Secondary link

- + Contrast link

diff --git a/socket.io/server.js b/socket.io/server.js index 4936d516..f48f7abf 100644 --- a/socket.io/server.js +++ b/socket.io/server.js @@ -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 = diff --git a/unocss/app/root.tsx b/unocss/app/root.tsx index b69a5c22..6879f802 100644 --- a/unocss/app/root.tsx +++ b/unocss/app/root.tsx @@ -1,4 +1,4 @@ -import { LinksFunction } from "@remix-run/node"; +import type { LinksFunction } from "@remix-run/node"; import { Links, Meta,