Skip to content

Commit 58b5f74

Browse files
committed
Refactor code-style
1 parent 6a96c02 commit 58b5f74

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
@@ -64,11 +64,7 @@
6464
"trailingComma": "none"
6565
},
6666
"xo": {
67-
"prettier": true,
68-
"rules": {
69-
"no-var": "off",
70-
"prefer-arrow-callback": "off"
71-
}
67+
"prettier": true
7268
},
7369
"remarkConfig": {
7470
"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 {heading} from './index.js'
33

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

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

0 commit comments

Comments
 (0)