chore: Upgrade Babel, Jest, Eslint (#1437)
* chore: Upgrade Prettier 1.8 -> 2.0 * chore: Upgrade Babel 6 -> 7 * chore: Upgrade eslint plugins * chore: Add eslint import/order rules * chore: Update flow-typed deps
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// @flow
|
||||
import { capitalize } from "lodash";
|
||||
import * as React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
import { capitalize } from "lodash";
|
||||
import styled from "styled-components";
|
||||
import Time from "components/Time";
|
||||
import ListItem from "components/List/Item";
|
||||
import Avatar from "components/Avatar";
|
||||
import Event from "models/Event";
|
||||
import Avatar from "components/Avatar";
|
||||
import ListItem from "components/List/Item";
|
||||
import Time from "components/Time";
|
||||
|
||||
type Props = {
|
||||
event: Event,
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import { observable } from "mobx";
|
||||
import { observer, inject } from "mobx-react";
|
||||
import styled from "styled-components";
|
||||
import Dropzone from "react-dropzone";
|
||||
import LoadingIndicator from "components/LoadingIndicator";
|
||||
import Flex from "components/Flex";
|
||||
import Modal from "components/Modal";
|
||||
import Button from "components/Button";
|
||||
import * as React from "react";
|
||||
import AvatarEditor from "react-avatar-editor";
|
||||
import { uploadFile, dataUrlToBlob } from "utils/uploadFile";
|
||||
import Dropzone from "react-dropzone";
|
||||
import styled from "styled-components";
|
||||
import UiStore from "stores/UiStore";
|
||||
import Button from "components/Button";
|
||||
import Flex from "components/Flex";
|
||||
import LoadingIndicator from "components/LoadingIndicator";
|
||||
import Modal from "components/Modal";
|
||||
import { uploadFile, dataUrlToBlob } from "utils/uploadFile";
|
||||
|
||||
type Props = {
|
||||
children?: React.Node,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import Checkbox from "components/Checkbox";
|
||||
import NotificationSetting from "models/NotificationSetting";
|
||||
import Checkbox from "components/Checkbox";
|
||||
|
||||
type Props = {
|
||||
setting?: NotificationSetting,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import ShareMenu from "menus/ShareMenu";
|
||||
import Share from "models/Share";
|
||||
import ListItem from "components/List/Item";
|
||||
import Time from "components/Time";
|
||||
import Share from "models/Share";
|
||||
import ShareMenu from "menus/ShareMenu";
|
||||
|
||||
type Props = {
|
||||
share: Share,
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
import * as React from "react";
|
||||
import styled from "styled-components";
|
||||
import { slackAuth } from "shared/utils/routeHelpers";
|
||||
import SlackLogo from "components/SlackLogo";
|
||||
import Button from "components/Button";
|
||||
import SlackLogo from "components/SlackLogo";
|
||||
import env from "env";
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import ApiKey from "models/ApiKey";
|
||||
import Button from "components/Button";
|
||||
import ListItem from "components/List/Item";
|
||||
import ApiKey from "models/ApiKey";
|
||||
|
||||
type Props = {
|
||||
token: ApiKey,
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import styled from "styled-components";
|
||||
import { observable } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
import UserMenu from "menus/UserMenu";
|
||||
import * as React from "react";
|
||||
import styled from "styled-components";
|
||||
import User from "models/User";
|
||||
import UserProfile from "scenes/UserProfile";
|
||||
import Avatar from "components/Avatar";
|
||||
import Badge from "components/Badge";
|
||||
import UserProfile from "scenes/UserProfile";
|
||||
import ListItem from "components/List/Item";
|
||||
import Time from "components/Time";
|
||||
import User from "models/User";
|
||||
import UserMenu from "menus/UserMenu";
|
||||
|
||||
type Props = {
|
||||
user: User,
|
||||
|
||||
Reference in New Issue
Block a user