Skip to content

Commit

Permalink
Refactor code-style
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 26, 2021
1 parent b5a1200 commit aad51cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@
"trailingComma": "none"
},
"xo": {
"prettier": true,
"rules": {
"no-var": "off",
"prefer-arrow-callback": "off"
}
"prettier": true
},
"remarkConfig": {
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'tape'
import {phrasing} from './index.js'

test('phrasing', function (t) {
test('phrasing', (t) => {
t.equal(phrasing(), false, 'should return `false` without node')

t.equal(phrasing(null), false, 'should return `false` with `null`')
Expand Down

0 comments on commit aad51cb

Please sign in to comment.