Skip to content

Commit 15362d1

Browse files
committed
Refactor code-style
1 parent 9275d4e commit 15362d1

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

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

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

0 commit comments

Comments
 (0)