Skip to content

Commit

Permalink
Update lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Mar 11, 2018
1 parent e3a91fe commit c21d9e2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -115,7 +115,7 @@
"babel-preset-flow": "6.23.0",
"babel-register": "6.26.0",
"cross-env": "5.1.4",
"eslint-config-jonnybuchanan": "5.0.3",
"eslint-config-jonnybuchanan": "6.0.0",
"eventsource": "1.0.5",
"flow-bin": "0.67.1",
"glob": "7.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/config/karma.js
Expand Up @@ -136,6 +136,6 @@ export function processKarmaConfig({report, userConfig}) {
`karma.config`,
`type: ${typeOf(config)}`,
`Must be a ${chalk.cyan('Function')}`
)
)
}
}
16 changes: 8 additions & 8 deletions src/config/user.js
Expand Up @@ -120,14 +120,14 @@ export function getProjectType(args = {}) {
* Validate user config and perform any supported transformations to it.
*/
export function processUserConfig({
args = {},
check = false,
configFileExists,
configPath,
pluginConfig = {},
required = DEFAULT_REQUIRED,
userConfig,
}) {
args = {},
check = false,
configFileExists,
configPath,
pluginConfig = {},
required = DEFAULT_REQUIRED,
userConfig,
}) {
// Config modules can export a function if they need to access the current
// command or the webpack dependency nwb manages for them.
if (typeOf(userConfig) === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion src/config/webpack.js
Expand Up @@ -377,7 +377,7 @@ export function processWebpackConfig({pluginConfig, report, userConfig}) {
`webpack.config`,
`type: ${typeOf(config)}`,
`Must be a ${chalk.cyan('Function')}`
)
)
}
}

Expand Down

0 comments on commit c21d9e2

Please sign in to comment.