Add blueprint eslint plugin (#1892)

* add bp3 eslint plugin

* first eslint runthrough + manual changes

* small fixes

* update snapshots

* update h1 to h4

Co-authored-by: czimergebot <35308261+czimergebot@users.noreply.github.com>
This commit is contained in:
Severiano Badajoz
2020-09-29 15:00:56 -07:00
committed by GitHub
co-authored by czimergebot
parent af3c6e1d8e
commit 7bee09cd16
18 changed files with 536 additions and 73 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
import React from "react";
import { AnchorButton, Tooltip } from "@blueprintjs/core";
import { AnchorButton, ButtonGroup, Tooltip } from "@blueprintjs/core";
import * as globals from "../../globals";
import styles from "./menubar.css";
@@ -9,7 +9,7 @@ const Auth = React.memo((props) => {
if (!auth || (auth && !auth.requires_client_login)) return null;
return (
<div className={`bp3-button-group ${styles.menubarButton}`}>
<ButtonGroup className={styles.menubarButton}>
<Tooltip
content="Log in or log out of cellxgene"
position="bottom"
@@ -25,7 +25,7 @@ const Auth = React.memo((props) => {
{!userinfo.is_authenticated ? "Log In" : "Log Out"}
</AnchorButton>
</Tooltip>
</div>
</ButtonGroup>
);
});