Skip to content

Commit

Permalink
[Docs] add missing urls
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm authored and ljharb committed Jul 6, 2018
1 parent 4e26092 commit b1f2b6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/rules/jsx-max-depth.js
Expand Up @@ -6,6 +6,7 @@

const has = require('has');
const variableUtil = require('../util/variable');
const docsUrl = require('../util/docsUrl');

// ------------------------------------------------------------------------------
// Rule Definition
Expand All @@ -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: [
{
Expand Down
4 changes: 3 additions & 1 deletion lib/rules/jsx-sort-default-props.js
Expand Up @@ -5,6 +5,7 @@
'use strict';

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

// ------------------------------------------------------------------------------
// Rule Definition
Expand All @@ -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: [{
Expand Down

0 comments on commit b1f2b6f

Please sign in to comment.