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,6 +1,6 @@
|
||||
// @flow
|
||||
import JWT from "jsonwebtoken";
|
||||
import subMinutes from "date-fns/sub_minutes";
|
||||
import JWT from "jsonwebtoken";
|
||||
import { AuthenticationError } from "../errors";
|
||||
import { User } from "../models";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import * as React from "react";
|
||||
import webpackConfig from "../../webpack.config";
|
||||
|
||||
const PUBLIC_PATH = webpackConfig.output.publicPath;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// @flow
|
||||
import Redis from "ioredis";
|
||||
import Queue from "bull";
|
||||
import Redis from "ioredis";
|
||||
import { client, subscriber } from "../redis";
|
||||
|
||||
export function createQueue(name: string) {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// @flow
|
||||
import crypto from "crypto";
|
||||
import * as Sentry from "@sentry/node";
|
||||
import AWS from "aws-sdk";
|
||||
import addHours from "date-fns/add_hours";
|
||||
import format from "date-fns/format";
|
||||
import AWS from "aws-sdk";
|
||||
import invariant from "invariant";
|
||||
import fetch from "isomorphic-fetch";
|
||||
import * as Sentry from "@sentry/node";
|
||||
|
||||
const AWS_SECRET_ACCESS_KEY = process.env.AWS_SECRET_ACCESS_KEY;
|
||||
const AWS_ACCESS_KEY_ID = process.env.AWS_ACCESS_KEY_ID;
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
import crypto from "crypto";
|
||||
import invariant from "invariant";
|
||||
import fetch from "isomorphic-fetch";
|
||||
import { client } from "../redis";
|
||||
import packageInfo from "../../package.json";
|
||||
|
||||
import { User, Team, Collection, Document } from "../models";
|
||||
import { client } from "../redis";
|
||||
|
||||
const UPDATES_URL = "https://updates.getoutline.com";
|
||||
const UPDATES_KEY = "UPDATES_KEY";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// @flow
|
||||
import fs from "fs";
|
||||
import * as Sentry from "@sentry/node";
|
||||
import JSZip from "jszip";
|
||||
import tmp from "tmp";
|
||||
import * as Sentry from "@sentry/node";
|
||||
import { Attachment, Collection, Document } from "../models";
|
||||
import { getImageByKey } from "./s3";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user