Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-config-airbnb-base from 13.2.0 to 14.0.0 #59

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = processArgv => {
cmdArgv = cliArgs(bin.args, { partial: true, argv: processArgv.slice(1) });
}

cmdArgv = Object.assign({}, { key: configStore.get('apiKey') }, cmdArgv);
cmdArgv = { key: configStore.get('apiKey'), ...cmdArgv };

return bin.run(cmdArgv);
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion cmds/swagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ exports.run = async function(opts) {

// If the user didn't supply a specification, let's try to locate what they've got, and upload
// that. If they don't have any, let's let the user know how they can get one going.
return new Promise(async (resolve, reject) => {
return new Promise((resolve, reject) => {
['swagger.json', 'swagger.yaml', 'openapi.json', 'openapi.yaml'].forEach(file => {
if (!fs.existsSync(file)) {
return;
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.11.0",
"jest": "^24.7.1",
Expand Down