Skip to content

Commit c499d89

Browse files
committed
Update xo
1 parent 76b22da commit c499d89

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast-util-to-parse5
6-
* @fileoverview Transform HAST to Parse5’s AST.
7-
*/
8-
91
'use strict';
102

113
/* Dependencies. */
@@ -47,7 +39,7 @@ var attributeSpaces = {
4739
'xml:base': {prefix: 'xml', name: 'base', namespace: NS.xml},
4840
'xml:lang': {prefix: 'xml', name: 'lang', namespace: NS.xml},
4941
'xml:space': {prefix: 'xml', name: 'space', namespace: NS.xml},
50-
'xmlns': {prefix: '', name: 'xmlns', namespace: NS.xmlns},
42+
xmlns: {prefix: '', name: 'xmlns', namespace: NS.xmlns},
5143
'xmlns:xlink': {prefix: 'xmlns', name: 'xlink', namespace: NS.xmlns}
5244
};
5345

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"remark-usage": "^4.0.0",
3939
"remark-validate-links": "^4.0.0",
4040
"tape": "^4.0.0",
41-
"xo": "^0.16.0"
41+
"xo": "^0.17.0"
4242
},
4343
"scripts": {
4444
"build-md": "remark . --quiet --frail",

test/element.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ test('element', function (t) {
6767
type: 'element',
6868
tagName: 'svg',
6969
properties: {
70-
'width': 230,
71-
'height': 120,
72-
'xmlns': 'http://www.w3.org/2000/svg',
70+
width: 230,
71+
height: 120,
72+
xmlns: 'http://www.w3.org/2000/svg',
7373
'xmlns:xlink': 'http://www.w3.org/1999/xlink'
7474
},
7575
children: [

test/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
'use strict';
1010

11+
/* eslint-disable import/no-unassigned-import */
12+
1113
/* Tests. */
1214
require('./root');
1315
require('./doctype');

0 commit comments

Comments
 (0)