Skip to content

Commit

Permalink
[Dev Deps] update tape, jscs, eslint, @ljharb/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 6, 2015
1 parent d3b0a41 commit e4b11ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"WithStatement"
],

"requireObjectKeysOnNewLine": false,

"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
Expand Down Expand Up @@ -116,6 +118,8 @@

"disallowArrowFunctions": true,

"disallowMultiLineTernary": true,

"validateOrderInObjectKeys": "asc-insensitive"
}

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
"is-symbol": "^1.0.1"
},
"devDependencies": {
"tape": "^4.2.0",
"tape": "^4.2.1",
"covert": "^1.1.0",
"jscs": "^2.1.1",
"jscs": "^2.2.1",
"foreach": "^2.0.5",
"make-arrow-function": "^1.1.0",
"make-generator-function": "^1.1.0",
"semver": "^5.0.3",
"eslint": "^1.5.1",
"@ljharb/eslint-config": "^1.2.0",
"eslint": "^1.6.0",
"@ljharb/eslint-config": "^1.3.0",
"nsp": "^1.1.0",
"replace": "^0.3.0"
},
Expand Down
5 changes: 4 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

var test = require('tape');
var isEqual = require('./');
var hasGeneratorSupport = typeof require('make-generator-function') === 'function';
var genFn = require('make-generator-function');
var hasGeneratorSupport = typeof genFn === 'function';
var arrowFunctions = require('make-arrow-function').list();
var hasArrowFunctionSupport = arrowFunctions.length > 0;

Expand Down Expand Up @@ -128,7 +129,9 @@ test('functions', function (t) {
var anon2 = function () { /* ANONYMOUS! */ return 'anon'; };
/* jscs: disable */
/* eslint-disable space-before-function-paren */
/* eslint-disable space-before-blocks */
var fnNoSpace = function(){};
/* eslint-enable space-before-blocks */
/* eslint-enable space-before-function-paren */
/* jscs: enable */
var fnWithSpaceBeforeBody = function () {};
Expand Down

0 comments on commit e4b11ef

Please sign in to comment.