Skip to content

Commit

Permalink
[Fix] no-adjacent-inline-elements: add url
Browse files Browse the repository at this point in the history
The url for the `react/style-prop-object` rule is missing. This adds the correct url using the `docsUrl` util.
  • Loading branch information
trevinhofmann committed Dec 26, 2020
1 parent 9e4bbd0 commit a515c40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/rules/no-adjacent-inline-elements.js
Expand Up @@ -5,6 +5,8 @@

'use strict';

const docsUrl = require('../util/docsUrl');

// ------------------------------------------------------------------------------
// Helpers
// ------------------------------------------------------------------------------
Expand Down Expand Up @@ -76,7 +78,8 @@ module.exports = {
docs: {
description: 'Prevent adjacent inline elements not separated by whitespace.',
category: 'Best Practices',
recommended: false
recommended: false,
url: docsUrl('no-adjacent-inline-elements')
},
schema: []
},
Expand Down

0 comments on commit a515c40

Please sign in to comment.