Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing urls #1880

Merged
merged 1 commit into from Jul 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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