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:
Tom Moor
2020-08-08 22:53:59 -07:00
committed by GitHub
parent e312b264a6
commit 449dc55aaa
317 changed files with 16474 additions and 12183 deletions

View File

@@ -1,7 +1,7 @@
// @flow
import pkg from "rich-markdown-editor/package.json";
import { map, trim } from "lodash";
import invariant from "invariant";
import { map, trim } from "lodash";
import pkg from "rich-markdown-editor/package.json";
import stores from "stores";
import download from "./download";
import {

View File

@@ -1,5 +1,4 @@
// @flow
/* global navigator */
// download.js v3.0, by dandavis; 2008-2014. [CCBY2] see http://danml.com/download.html for tests/usage
// v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime

View File

@@ -1,7 +1,7 @@
// @flow
import Document from "models/Document";
import DocumentsStore from "stores/DocumentsStore";
import parseTitle from "shared/utils/parseTitle";
import DocumentsStore from "stores/DocumentsStore";
import Document from "models/Document";
type Options = {
file: File,

View File

@@ -1,6 +1,6 @@
// @flow
import { client } from "./ApiClient";
import invariant from "invariant";
import { client } from "./ApiClient";
type Options = {
name?: string,