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": {