Skip to content

Commit

Permalink
[Fix] no-danger-with-children/style-prop-object/`no-adjacent-inli…
Browse files Browse the repository at this point in the history
…ne-elements`: add category, URL
  • Loading branch information
trevinhofmann authored and ljharb committed Dec 26, 2020
1 parent a137a04 commit 77e1b35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion lib/rules/no-danger-with-children.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
meta: {
docs: {
description: 'Report when a DOM element is using both children and dangerouslySetInnerHTML',
category: '',
category: 'Possible Errors',
recommended: true,
url: docsUrl('no-danger-with-children')
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/style-prop-object.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
meta: {
docs: {
description: 'Enforce style prop value is an object',
category: '',
category: 'Possible Errors',
recommended: false,
url: docsUrl('style-prop-object')
},
Expand Down

0 comments on commit 77e1b35

Please sign in to comment.