Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, nsp, tape
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 6, 2018
1 parent 632c8a9 commit 8c5878d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Expand Up @@ -6,6 +6,7 @@
"rules": {
"array-bracket-newline": [2, { "multiline": true, "minItems": 1 }],
"array-element-newline": [2, { "multiline": true, "minItems": 2 }],
"max-lines-per-function": [2, 115],
"max-params": [2, 4],
"max-statements": [2, 20],
"no-magic-numbers": [2, { "ignore": [0, 1, -1] }],
Expand Down
2 changes: 1 addition & 1 deletion getLatestError.js
Expand Up @@ -22,7 +22,7 @@ module.exports = function getLatestError(name, version, options, callback) {

return exec('npm info ' + name + ' versions --json --loglevel=info', function (err, json) {
if (err) {
if (/^npm ERR! code E404$/m.test(err)) {
if ((/^npm ERR! code E404$/m).test(err)) {
return callback(null, 'v' + version + ' is the first version published.');
}
return callback([
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -46,12 +46,12 @@
"yargs": "^7.1.0"
},
"devDependencies": {
"@ljharb/eslint-config": "^12.2.1",
"@ljharb/eslint-config": "^13.0.0",
"editorconfig-tools": "^0.1.1",
"eslint": "^4.16.0",
"eslint": "^5.3.0",
"mock-env": "^0.2.0",
"nsp": "^3.1.0",
"tape": "^4.8.0"
"nsp": "^3.2.1",
"tape": "^4.9.1"
},
"engines": {
"node": ">= 0.10"
Expand Down

0 comments on commit 8c5878d

Please sign in to comment.