Skip to content

Commit e7ab9f1

Browse files
committed
style(cli): add eslint no undefined for single line only
1 parent 0e5ede9 commit e7ab9f1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/utils/createConfig.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
'use strict';
22

3-
/* eslint-disable
4-
no-undefined
5-
*/
6-
73
const defaultTo = require('./defaultTo');
84

95
function createConfig(config, argv, { port }) {
@@ -148,6 +144,7 @@ function createConfig(config, argv, { port }) {
148144
options.openPage = argv.openPage;
149145
}
150146

147+
// eslint-disable-next-line no-undefined
151148
if (argv.open !== undefined) {
152149
options.open = argv.open;
153150
}

0 commit comments

Comments
 (0)