We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a96c02 commit 58b5f74Copy full SHA for 58b5f74
package.json
@@ -64,11 +64,7 @@
64
"trailingComma": "none"
65
},
66
"xo": {
67
- "prettier": true,
68
- "rules": {
69
- "no-var": "off",
70
- "prefer-arrow-callback": "off"
71
- }
+ "prettier": true
72
73
"remarkConfig": {
74
"plugins": [
test.js
@@ -1,7 +1,7 @@
1
import test from 'tape'
2
import {heading} from './index.js'
3
4
-test('heading', function (t) {
+test('heading', (t) => {
5
t.equal(heading(), false, 'should return `false` without node')
6
7
t.equal(heading(null), false, 'should return `false` with `null`')
0 commit comments