Skip to content

Commit

Permalink
Typecheck all files by default
Browse files Browse the repository at this point in the history
Closes: #12
  • Loading branch information
cjolowicz committed Jan 4, 2019
1 parent 2d6a6d0 commit d82d47a
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[options]
all=true
1 change: 0 additions & 1 deletion __tests__/client/artists.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import fetchMock from 'fetch-mock';
import { API_URL } from '../../src/constants';
import {
Expand Down
1 change: 0 additions & 1 deletion __tests__/client/auth.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import fetchMock from 'fetch-mock';
import { API_URL } from '../../src/constants';
import {
Expand Down
1 change: 0 additions & 1 deletion __tests__/server/app.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import request from 'supertest';

import app from '../../src/server/app';
Expand Down
1 change: 0 additions & 1 deletion src/client/artists.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import 'isomorphic-fetch';
import { API_URL } from '../constants';
import { createTokenAuthHeader } from './auth';
Expand Down
1 change: 0 additions & 1 deletion src/client/auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import 'isomorphic-fetch';
import { API_URL } from '../constants';

Expand Down
1 change: 0 additions & 1 deletion src/client/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import '@babel/polyfill';

import { fetchToken } from './auth';
Expand Down
1 change: 0 additions & 1 deletion src/server/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import express from 'express';
import compression from 'compression';

Expand Down
1 change: 0 additions & 1 deletion src/server/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import 'dotenv/config';

// eslint-disable-next-line import/named
Expand Down
1 change: 0 additions & 1 deletion webpack.config.babel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import path from 'path';
import Dotenv from 'dotenv-webpack';

Expand Down

0 comments on commit d82d47a

Please sign in to comment.