From a037bb798e0424eeb7de5465193a59d5ad97dcfd Mon Sep 17 00:00:00 2001 From: oceans404 Date: Tue, 26 Mar 2024 23:31:19 -0700 Subject: [PATCH] eslint no unused --- packages/nextjs/.eslintrc.json | 2 +- .../nextjs/app/nillion-hello-world/page.tsx | 23 ------------------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/packages/nextjs/.eslintrc.json b/packages/nextjs/.eslintrc.json index c120c8c..000dc56 100644 --- a/packages/nextjs/.eslintrc.json +++ b/packages/nextjs/.eslintrc.json @@ -2,7 +2,7 @@ "parser": "@typescript-eslint/parser", "extends": ["next/core-web-vitals", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"], "rules": { - "@typescript-eslint/no-unused-vars": ["error"], + "@typescript-eslint/no-unused-vars": ["off"], "@typescript-eslint/no-explicit-any": ["off"], "@typescript-eslint/ban-ts-comment": ["off"], "prettier/prettier": [ diff --git a/packages/nextjs/app/nillion-hello-world/page.tsx b/packages/nextjs/app/nillion-hello-world/page.tsx index ec72e46..5b5aea6 100644 --- a/packages/nextjs/app/nillion-hello-world/page.tsx +++ b/packages/nextjs/app/nillion-hello-world/page.tsx @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/no-unused-vars */ "use client"; import { useEffect, useState } from "react"; @@ -12,28 +11,6 @@ import { getUserKeyFromSnap } from "~~/utils/nillion/getUserKeyFromSnap"; import { retrieveSecretBlob } from "~~/utils/nillion/retrieveSecretBlob"; import { storeSecretsBlob } from "~~/utils/nillion/storeSecretsBlob"; -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - -/* eslint-disable @typescript-eslint/no-unused-vars */ - const Home: NextPage = () => { const { address: connectedAddress } = useAccount(); const [connectedToSnap, setConnectedToSnap] = useState(false);