Skip to content

Commit 72bf558

Browse files
committed
Fixed more linting rules
1 parent a10e8da commit 72bf558

File tree

8 files changed

+316
-337
lines changed

8 files changed

+316
-337
lines changed

.flowconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
.*/git/.*
55

66
[include]
7-
./app/*.js
8-
./node_modules/
97

108
[libs]
119

lib/Worker.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
/**
2-
* @flow
3-
*/
1+
// @flow
42
const ps = require('child_process');
53

6-
function Worker(url) {
4+
function Worker(url: string) {
75
const that = this;
86
this.process = ps.fork(url);
97
this.process.on('message', (msg) => {

lib/eval.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* @flow
3-
*/
2+
* @flow
3+
*/
44
const isNode = typeof module !== 'undefined' && module.exports;
55

66
if (isNode) {

0 commit comments

Comments
 (0)