Skip to content

Commit 5152342

Browse files
committed
Refactor code-style
1 parent c44814e commit 5152342

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@
6363
"trailingComma": "none"
6464
},
6565
"xo": {
66-
"prettier": true,
67-
"rules": {
68-
"no-var": "off",
69-
"prefer-arrow-callback": "off"
70-
}
66+
"prettier": true
7167
},
7268
"remarkConfig": {
7369
"plugins": [

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import test from 'tape'
22
import {embedded} from './index.js'
33

4-
test('embedded', function (t) {
4+
test('embedded', (t) => {
55
t.equal(embedded(), false, 'should return `false` without node')
66

77
t.equal(embedded(null), false, 'should return `false` with `null`')

0 commit comments

Comments
 (0)