Skip to content

Commit 4cc8760

Browse files
committed
chore: fix linting errors
1 parent 9f47851 commit 4cc8760

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/generators/add-generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
import { ISchemaProperties, IWebpackOptions } from "./types";
2020
import entryQuestions from "./utils/entry";
2121

22+
// tslint:disable:no-var-requires
2223
const webpackDevServerSchema = require("webpack-dev-server/lib/options.json");
2324
const webpackSchema = require("./utils/optionsSchema.json");
2425
const PROPS: string[] = Array.from(PROP_TYPES.keys());

packages/utils/modify-config-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export default function modifyHelperUtil(
122122
configModule,
123123
);
124124
return runTransform(transformConfig, action);
125-
}).catch(err => {
126-
console.error(chalk.red('\nUnexpected Error, please file an issue to https://github.com/webpack/webpack-cli\n'));
125+
}).catch((err) => {
126+
console.error(chalk.red("\nUnexpected Error, please file an issue to https://github.com/webpack/webpack-cli\n"));
127127
console.error(err);
128128
});
129129
}

0 commit comments

Comments
 (0)