fix: re-enable flow type checking for the project ()

Flow wasn't working anymore. This fixes flow type checking and it to the git precommit hook.
This commit is contained in:
Igor Gassmann 2018-04-25 17:20:59 -04:00 committed by GitHub
parent eb06c9261d
commit 232c1d8109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 45 additions and 168 deletions

View file

@ -1,6 +1,4 @@
const path = require('path');
const FlowFlowPlugin = require('./flowtype-plugin');
const isDev = require('electron-is-dev');
const ELECTRON_RENDERER_PROCESS_ROOT = path.resolve(__dirname, 'src/renderer/');
@ -23,11 +21,3 @@ module.exports = {
extensions: ['.js', '.jsx', '.scss'],
},
};
if (isDev) {
module.exports.plugins = [
new FlowFlowPlugin({
warn: true,
}),
];
}