Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Jan 31, 2017
1 parent 700b19d commit fb31442
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions bin/webpack-dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,48 +18,48 @@ var webpack = require("webpack");

var optimist = require("optimist")

.usage("webpack-dev-server " + require("../package.json").version + "\n" +
"Usage: http://webpack.github.io/docs/webpack-dev-server.html")
.usage("webpack-dev-server " + require("../package.json").version + "\n" +
"Usage: http://webpack.github.io/docs/webpack-dev-server.html")

.boolean("lazy").describe("lazy")
.boolean("lazy").describe("lazy")

.boolean("stdin").describe("stdin", "close when stdin ends")
.boolean("stdin").describe("stdin", "close when stdin ends")

.boolean("info").describe("info").default("info", true)
.boolean("info").describe("info").default("info", true)

.boolean("quiet").describe("quiet")
.boolean("quiet").describe("quiet")

.boolean("inline").describe("inline", "Inline the webpack-dev-server logic into the bundle.")
.boolean("inline").describe("inline", "Inline the webpack-dev-server logic into the bundle.")

.boolean("https").describe("https")
.boolean("https").describe("https")

.string("key").describe("key", "Path to a SSL key.")
.string("key").describe("key", "Path to a SSL key.")

.string("cert").describe("cert", "Path to a SSL certificate.")
.string("cert").describe("cert", "Path to a SSL certificate.")

.string("cacert").describe("cacert", "Path to a SSL CA certificate.")
.string("cacert").describe("cacert", "Path to a SSL CA certificate.")

.string("pfx").describe("pfx", "Path to a SSL pfx file.")
.string("pfx").describe("pfx", "Path to a SSL pfx file.")

.string("pfx-passphrase").describe("pfx-passphrase", "Passphrase for pfx file.")
.string("pfx-passphrase").describe("pfx-passphrase", "Passphrase for pfx file.")

.string("content-base").describe("content-base", "A directory or URL to serve HTML content from.")
.string("content-base").describe("content-base", "A directory or URL to serve HTML content from.")

.string("content-base-target").describe("content-base-target", "Proxy requests to this target.")
.string("content-base-target").describe("content-base-target", "Proxy requests to this target.")

.boolean("history-api-fallback").describe("history-api-fallback", "Fallback to /index.html for Single Page Applications.")
.boolean("history-api-fallback").describe("history-api-fallback", "Fallback to /index.html for Single Page Applications.")

.string("client-log-level").describe("client-log-level", "Log level in the browser (info, warning, error or none)").default("client-log-level", "info")
.string("client-log-level").describe("client-log-level", "Log level in the browser (info, warning, error or none)").default("client-log-level", "info")

.boolean("compress").describe("compress", "enable gzip compression")
.boolean("compress").describe("compress", "enable gzip compression")

.boolean("open").describe("open", "Open default browser")
.boolean("open").describe("open", "Open default browser")

.describe("port", "The port").default("port", 8080)
.describe("port", "The port").default("port", 8080)

.describe("public", "The public hostname/ip address of the server")
.describe("public", "The public hostname/ip address of the server")

.describe("host", "The hostname/ip address the server will bind to").default("host", "localhost");
.describe("host", "The hostname/ip address the server will bind to").default("host", "localhost");

require("webpack/bin/config-optimist")(optimist);

Expand Down

0 comments on commit fb31442

Please sign in to comment.