diff --git a/lib/rules/jsx-max-depth.js b/lib/rules/jsx-max-depth.js index b5b3723733..9341a6d970 100644 --- a/lib/rules/jsx-max-depth.js +++ b/lib/rules/jsx-max-depth.js @@ -6,6 +6,7 @@ const has = require('has'); const variableUtil = require('../util/variable'); +const docsUrl = require('../util/docsUrl'); // ------------------------------------------------------------------------------ // Rule Definition @@ -15,7 +16,8 @@ module.exports = { docs: { description: 'Validate JSX maximum depth', category: 'Stylistic Issues', - recommended: false + recommended: false, + url: docsUrl('jsx-max-depth') }, schema: [ { diff --git a/lib/rules/jsx-sort-default-props.js b/lib/rules/jsx-sort-default-props.js index 967e0e419f..cb917dd0ac 100644 --- a/lib/rules/jsx-sort-default-props.js +++ b/lib/rules/jsx-sort-default-props.js @@ -5,6 +5,7 @@ 'use strict'; const variableUtil = require('../util/variable'); +const docsUrl = require('../util/docsUrl'); // ------------------------------------------------------------------------------ // Rule Definition @@ -15,7 +16,8 @@ module.exports = { docs: { description: 'Enforce default props alphabetical sorting', category: 'Stylistic Issues', - recommended: false + recommended: false, + url: docsUrl('jsx-sort-default-props') }, schema: [{