Skip to content

Commit 0ed3c70

Browse files
committed
docs url
1 parent e441865 commit 0ed3c70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/rules/jsx-child-element-spacing.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
'use strict';
22

3+
const docsUrl = require('../util/docsUrl');
4+
35
// This list is taken from https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements
46
const INLINE_ELEMENTS = new Set([
57
'a',
@@ -40,7 +42,8 @@ module.exports = {
4042
docs: {
4143
description: 'Ensures inline tags are not rendered without spaces between them',
4244
category: 'Stylistic Issues',
43-
recommended: false
45+
recommended: false,
46+
url: docsUrl('jsx-child-element-spacing')
4447
},
4548
fixable: false,
4649
schema: [

0 commit comments

Comments
 (0)