Skip to content

Commit a515c40

Browse files
[Fix] no-adjacent-inline-elements: add url
The url for the `react/style-prop-object` rule is missing. This adds the correct url using the `docsUrl` util.
1 parent 9e4bbd0 commit a515c40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/rules/no-adjacent-inline-elements.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
'use strict';
77

8+
const docsUrl = require('../util/docsUrl');
9+
810
// ------------------------------------------------------------------------------
911
// Helpers
1012
// ------------------------------------------------------------------------------
@@ -76,7 +78,8 @@ module.exports = {
7678
docs: {
7779
description: 'Prevent adjacent inline elements not separated by whitespace.',
7880
category: 'Best Practices',
79-
recommended: false
81+
recommended: false,
82+
url: docsUrl('no-adjacent-inline-elements')
8083
},
8184
schema: []
8285
},

0 commit comments

Comments
 (0)