yeah.. linting..
Some checks failed
Build Full Stack / release-image (push) Failing after 2m22s

This commit is contained in:
2024-12-22 01:45:56 +01:00
parent f85a2cc0c5
commit 7057f0e04a
3 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,4 @@
import type { Metadata } from 'next';
import { Geist, Geist_Mono } from 'next/font/google';
import './globals.css';
export const metadata: Metadata = {

View File

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from "next/server";
import { NextResponse } from "next/server";
export async function GET(_request: NextRequest) {
export async function GET() {
const pk = `-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGHThigBEACa2l79D1WeKXvlJsua8s90P0p50sWaKCS6QOwG9jCvcSfSll8g

View File

@ -1,6 +1,6 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";
import { dirname } from 'path';
import { fileURLToPath } from 'url';
import { FlatCompat } from '@eslint/eslintrc';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@ -10,7 +10,13 @@ const compat = new FlatCompat({
});
const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
...compat.config({
extends: ['next/core-web-vitals', 'next/typescript'],
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'react/no-unescaped-entities': 'off',
},
}),
];
export default eslintConfig;