diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -30,7 +30,7 @@ const nodeHasAttrs = (node, callback) => {
   if (
     typeof node === 'object' && Object.prototype.hasOwnProperty.call(node, 'attrs')
   ) {
-    node.attrs = Object.keys(node.attrs).reduce(callback, {}); // eslint-disable-line unicorn/no-fn-reference-in-iterator
+    node.attrs = Object.keys(node.attrs).reduce(callback, {});
   }
 };
 
diff --git a/test/test-plugin.js b/test/test-plugin.js
index <HASH>..<HASH> 100644
--- a/test/test-plugin.js
+++ b/test/test-plugin.js
@@ -11,7 +11,7 @@ test('plugin beautify must be function', t => {
 test('plugin beautify should return Error with use option sync', t => {
   const error = t.throws(() => {
     beautify()();
-  }, undefined);
+  });
 
   t.is(error.message, 'tree is not Array');
 });
style: after update dev dep and lint