Skip to content

Commit

Permalink
Update xo
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 10, 2017
1 parent c73fe3f commit 324fd1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function unified() {
assertUnfrozen('use', frozen);

if (value === null || value === undefined) {
/* empty */
/* Empty */
} else if (func(value)) {
addPlugin.apply(null, arguments);
} else if (typeof value === 'object') {
Expand Down Expand Up @@ -219,7 +219,7 @@ function unified() {
var index;

if (plugins === null || plugins === undefined) {
/* empty */
/* Empty */
} else if (array(plugins)) {
length = plugins.length;
index = -1;
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"remark-cli": "^3.0.0",
"remark-preset-wooorm": "^2.0.0",
"tape": "^4.4.0",
"xo": "^0.17.0"
"xo": "^0.18.1"
},
"scripts": {
"build-md": "remark . -qfo",
Expand All @@ -61,7 +61,9 @@
},
"xo": {
"space": true,
"esnext": false,
"rules": {
"unicorn/prefer-type-error": "off",
"import/no-unassigned-import": "off",
"guard-for-in": "off",
"max-lines": "off"
Expand Down
3 changes: 2 additions & 1 deletion test/util/noop.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

module.exports = exports = noop;
exports = noop;
module.exports = exports;
exports.Parser = Parser;
exports.Compiler = Compiler;

Expand Down

0 comments on commit 324fd1f

Please sign in to comment.