Skip to content

Commit fd1efae

Browse files
authored
Merge pull request #36 from markmdev/cap-deploy
chore: update ESLint configuration and dependencies
2 parents 2f2dadc + 1542ca9 commit fd1efae

File tree

12 files changed

+753
-937
lines changed

12 files changed

+753
-937
lines changed

apps/frontend/eslint.config.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ import { defineConfig } from "eslint/config";
66

77
export default defineConfig([
88
{
9-
ignores: ["**/*.test.{js,mjs,cjs,ts,mts,cts}", "**/*.config.{js,mjs,cjs,ts,mts,cts}", ".next/"],
9+
ignores: [
10+
"**/*.test.{js,mjs,cjs,ts,mts,cts}",
11+
"**/*.config.{js,mjs,cjs,ts,mts,cts}",
12+
".next/",
13+
"next-env.d.ts",
14+
],
1015
},
1116
{
1217
files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
@@ -22,7 +27,7 @@ export default defineConfig([
2227
...tseslint.configs.recommended,
2328
react.configs.flat.recommended,
2429
{
25-
plugins: { react },
30+
plugins: { "@typescript-eslint": tseslint.plugin, react },
2631
rules: {
2732
"react/react-in-jsx-scope": "off",
2833
"react/jsx-uses-react": "off",

apps/frontend/package-lock.json

Lines changed: 192 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"next": "15.2.4",
12+
"next": "^15.5.2",
1313
"react": "^19.0.0",
1414
"react-dom": "^19.0.0",
1515
"react-loading-skeleton": "^3.5.0",

apps/frontend/src/components/CookieBanner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/no-explicit-any */
21
"use client";
32

43
import { useEffect, useRef, useState } from "react";

apps/frontend/src/lib/jobHandler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ export async function handleJob<T>({
2222
jobStatusChecker: JobStatusChecker;
2323
mutate: KeyedMutator<T>;
2424
optimisticUpdate?: OptimisticUpdate<T>;
25-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2625
onSuccess?: (result: any) => void;
27-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2826
onError?: ({ error, data }: { error?: Error; data?: any }) => void;
2927
onProgress?: onProgress;
3028
}) {

apps/landing/.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/landing/components/CookieBanner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/no-explicit-any */
21
"use client";
32

43
import { useEffect, useRef, useState } from "react";

apps/landing/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default [
2121
...tseslint.configs.recommended,
2222
react.configs.flat.recommended,
2323
{
24-
plugins: { react },
24+
plugins: { "@typescript-eslint": tseslint.plugin, react },
2525
rules: {
2626
"react/react-in-jsx-scope": "off",
2727
"react/jsx-uses-react": "off",

apps/landing/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

0 commit comments

Comments
 (0)