From e23e1fb924984c7c2414a0c2cd76381af1454e14 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Tue, 5 Jan 2021 22:48:38 -0700 Subject: [PATCH] general cleanup --- hyperglass/ui/components/card/body.tsx | 1 - hyperglass/ui/hooks/useLGState.ts | 1 + hyperglass/ui/package.json | 8 +++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hyperglass/ui/components/card/body.tsx b/hyperglass/ui/components/card/body.tsx index 7d3e882..f6aa4e8 100644 --- a/hyperglass/ui/components/card/body.tsx +++ b/hyperglass/ui/components/card/body.tsx @@ -7,7 +7,6 @@ export const CardBody: React.FC = (props: TCardBody) => { const { onClick, ...rest } = props; const bg = useColorValue('white', 'dark.500'); const color = useColorValue('dark.500', 'white'); - console.log('some shit'); return ( ): Plugin | TMethodsExtension { return { id: MethodsId, init: () => { + /* eslint @typescript-eslint/ban-types: 0 */ return new MethodsInstance() as {}; }, }; diff --git a/hyperglass/ui/package.json b/hyperglass/ui/package.json index a2f3dd5..4c07821 100644 --- a/hyperglass/ui/package.json +++ b/hyperglass/ui/package.json @@ -6,13 +6,15 @@ "license": "BSD-3-Clause-Clear", "private": true, "scripts": { + "lint": "eslint .", "dev": "node nextdev", - "build": "next build && next export -o ../hyperglass/static/ui", "start": "next start", - "clean": "rimraf --no-glob ./.next ./out", "typecheck": "tsc --noEmit", + "format": "prettier -c -w .", + "clean": "rimraf --no-glob ./.next ./out", + "check:es:export": "es-check es5 './out/**/*.js' -v", "check:es:build": "es-check es5 './.next/static/**/*.js' -v", - "check:es:export": "es-check es5 './out/**/*.js' -v" + "build": "next build && next export -o ../hyperglass/static/ui" }, "browserslist": "> 0.25%, not dead", "dependencies": {