Skip to content

Commit f992287

Browse files
committed
Update xo
1 parent f6b8c95 commit f992287

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/util-escape.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {stringifyEntitiesLight} from 'stringify-entities'
22

3+
// eslint-disable-next-line no-control-regex
34
const noncharacter = /[\u0000-\u0008\u000B\u000C\u000E-\u001F]/g
45

56
/**

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"typescript": "^4.0.0",
4848
"unist-builder": "^3.0.0",
4949
"xastscript": "^3.0.0",
50-
"xo": "^0.39.0"
50+
"xo": "^0.42.0"
5151
},
5252
"scripts": {
5353
"prepack": "npm run build && npm run format",
@@ -66,10 +66,7 @@
6666
"trailingComma": "none"
6767
},
6868
"xo": {
69-
"prettier": true,
70-
"rules": {
71-
"no-control-regex": "off"
72-
}
69+
"prettier": true
7370
},
7471
"remarkConfig": {
7572
"plugins": [

0 commit comments

Comments
 (0)