Skip to content

Commit bcd7736

Browse files
committed
fix invalid envs option
`envs` option via API must be an array.
1 parent 286b0c4 commit bcd7736

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

example/config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ gulp.task('inline-config', () => {
5555

5656
globals: ['$'],
5757

58-
envs: {
59-
'node': true
60-
}
61-
58+
envs: ['node']
6259
}))
6360
.pipe(eslint.format());
6461
});

0 commit comments

Comments
 (0)