From bd4f096cc832921f58494eb08dc216e3395784cf Mon Sep 17 00:00:00 2001 From: Elliot Braem <16282460+elliotBraem@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:48:10 -0500 Subject: [PATCH] lint --- examples/Typescript/apps/Metadata/bos.config.json | 2 +- examples/Typescript/apps/Metadata/widget/MetadataViewer.tsx | 2 +- examples/Typescript/eslint.config.js | 2 +- examples/Typescript/global.d.ts | 2 +- examples/Typescript/tsconfig.json | 6 ++---- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/Typescript/apps/Metadata/bos.config.json b/examples/Typescript/apps/Metadata/bos.config.json index 350b70b..159b22e 100644 --- a/examples/Typescript/apps/Metadata/bos.config.json +++ b/examples/Typescript/apps/Metadata/bos.config.json @@ -1,3 +1,3 @@ { "appAccount": "dummy.near" -} \ No newline at end of file +} diff --git a/examples/Typescript/apps/Metadata/widget/MetadataViewer.tsx b/examples/Typescript/apps/Metadata/widget/MetadataViewer.tsx index 45d447f..846b8f8 100644 --- a/examples/Typescript/apps/Metadata/widget/MetadataViewer.tsx +++ b/examples/Typescript/apps/Metadata/widget/MetadataViewer.tsx @@ -141,4 +141,4 @@ function MetadataViewer(metadata: Metadata) { ); } -export default MetadataViewer; \ No newline at end of file +export default MetadataViewer; diff --git a/examples/Typescript/eslint.config.js b/examples/Typescript/eslint.config.js index b3e28cf..505ba7b 100644 --- a/examples/Typescript/eslint.config.js +++ b/examples/Typescript/eslint.config.js @@ -35,4 +35,4 @@ export default [ "ts/return-await": 2, }, }, -]; \ No newline at end of file +]; diff --git a/examples/Typescript/global.d.ts b/examples/Typescript/global.d.ts index 4a2b7e5..f744569 100644 --- a/examples/Typescript/global.d.ts +++ b/examples/Typescript/global.d.ts @@ -14,4 +14,4 @@ declare const Widget: (params: { declare const Markdown: (params: { text: string | undefined; -}) => React.ReactNode; \ No newline at end of file +}) => React.ReactNode; diff --git a/examples/Typescript/tsconfig.json b/examples/Typescript/tsconfig.json index 2228e41..abb759f 100644 --- a/examples/Typescript/tsconfig.json +++ b/examples/Typescript/tsconfig.json @@ -7,8 +7,6 @@ "types": ["@types/react", "near-social-vm-types", "./global.d.ts"], "strict": true, "noImplicitAny": true, - "lib": [ - "esnext", - ] + "lib": ["esnext"] } -} \ No newline at end of file +}