Skip to content

Commit

Permalink
Merge pull request #1123 from jeffin143/fix/lint
Browse files Browse the repository at this point in the history
fix: warnings on lint
  • Loading branch information
evenstensberg committed Nov 17, 2019
2 parents 4487761 + 76db13c commit c193b96
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const WebpackCLI = require('./webpack-cli');
const { core, commands } = require('./utils/cli-flags');
const cmdArgs = require('command-line-args');
Expand Down
1 change: 1 addition & 0 deletions lib/commands/external.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const { prompt } = require('inquirer');
const chalk = require('chalk');
class ExternalCommand {
Expand Down
1 change: 1 addition & 0 deletions lib/groups/advanced.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const GroupHelper = require('../utils/group-helper');

class AdvancedGroup extends GroupHelper {
Expand Down
1 change: 1 addition & 0 deletions lib/groups/basic.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const GroupHelper = require('../utils/group-helper');

class BasicGroup extends GroupHelper {
Expand Down
1 change: 1 addition & 0 deletions lib/groups/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const { existsSync } = require('fs');
const { resolve, sep, dirname, parse } = require('path');
const { extensions } = require('interpret');
Expand Down
1 change: 1 addition & 0 deletions lib/groups/help.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const chalk = require('chalk');
const commandLineUsage = require('command-line-usage');

Expand Down
1 change: 1 addition & 0 deletions lib/groups/output.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const path = require('path');
const GroupHelper = require('../utils/group-helper');

Expand Down
1 change: 1 addition & 0 deletions lib/groups/stats.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const GroupHelper = require('../utils/group-helper');

class StatsGroup extends GroupHelper {
Expand Down
1 change: 1 addition & 0 deletions lib/utils/compiler.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const webpack = require('webpack');
const chalk = require('chalk');
const Table = require('cli-table3');
Expand Down
1 change: 1 addition & 0 deletions lib/utils/development-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const { join, resolve } = require('path');
const TerserPlugin = require('terser-webpack-plugin');

Expand Down
1 change: 1 addition & 0 deletions lib/utils/group-helper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const { resolve, join } = require('path');
const { existsSync } = require('fs');

Expand Down
1 change: 1 addition & 0 deletions lib/utils/process-log.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
function logErrorAndExit(error) {
if (error && error.stack) process.cliLogger.error(error.stack);
process.exit(1);
Expand Down
1 change: 1 addition & 0 deletions lib/utils/production-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const { join, resolve } = require('path');
const TerserPlugin = require('terser-webpack-plugin');

Expand Down
1 change: 1 addition & 0 deletions lib/utils/zero-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
function getEnvFromOptionsAndMode(mode, optionsObject) {
const { dev, prod } = optionsObject;

Expand Down
1 change: 1 addition & 0 deletions lib/webpack-cli.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const { resolve, parse, join } = require('path');
const { existsSync } = require('fs');
const GroupHelper = require('./utils/group-helper');
Expand Down
2 changes: 1 addition & 1 deletion test/serve/serve-basic.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable space-before-function-paren */
/* eslint-disable space-before-function-paren, @typescript-eslint/explicit-function-return-type*/
'use strict';

const path = require('path');
Expand Down

0 comments on commit c193b96

Please sign in to comment.