Skip to content

Commit

Permalink
docs: fix table formatting and configs links
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Oct 21, 2022
1 parent 35902a5 commit 8b0f8a9
Show file tree
Hide file tree
Showing 23 changed files with 126 additions and 126 deletions.
208 changes: 104 additions & 104 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/rules/display-name.md
@@ -1,6 +1,6 @@
# Disallow missing displayName in a React component definition (`react/display-name`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-key.md
@@ -1,6 +1,6 @@
# Disallow missing `key` props in iterators/collection literals (`react/jsx-key`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-no-comment-textnodes.md
@@ -1,6 +1,6 @@
# Disallow comments from being inserted as text nodes (`react/jsx-no-comment-textnodes`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-no-duplicate-props.md
@@ -1,6 +1,6 @@
# Disallow duplicate properties in JSX (`react/jsx-no-duplicate-props`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-no-target-blank.md
@@ -1,6 +1,6 @@
# Disallow `target="_blank"` attribute without `rel="noreferrer"` (`react/jsx-no-target-blank`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-no-undef.md
@@ -1,6 +1,6 @@
# Disallow undeclared variables in JSX (`react/jsx-no-undef`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-uses-react.md
@@ -1,6 +1,6 @@
# Disallow React to be incorrectly marked as unused (`react/jsx-uses-react`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-uses-vars.md
@@ -1,6 +1,6 @@
# Disallow variables used in JSX to be incorrectly marked as unused (`react/jsx-uses-vars`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-children-prop.md
@@ -1,6 +1,6 @@
# Disallow passing of children as props (`react/no-children-prop`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-danger-with-children.md
@@ -1,6 +1,6 @@
# Disallow when a DOM element is using both children and dangerouslySetInnerHTML (`react/no-danger-with-children`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-deprecated.md
@@ -1,6 +1,6 @@
# Disallow usage of deprecated methods (`react/no-deprecated`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-direct-mutation-state.md
@@ -1,6 +1,6 @@
# Disallow direct mutation of this.state (`react/no-direct-mutation-state`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-find-dom-node.md
@@ -1,6 +1,6 @@
# Disallow usage of findDOMNode (`react/no-find-dom-node`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-is-mounted.md
@@ -1,6 +1,6 @@
# Disallow usage of isMounted (`react/no-is-mounted`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-render-return-value.md
@@ -1,6 +1,6 @@
# Disallow usage of the return value of ReactDOM.render (`react/no-render-return-value`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-string-refs.md
@@ -1,6 +1,6 @@
# Disallow using string references (`react/no-string-refs`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unescaped-entities.md
@@ -1,6 +1,6 @@
# Disallow unescaped HTML entities from appearing in markup (`react/no-unescaped-entities`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unknown-property.md
@@ -1,6 +1,6 @@
# Disallow usage of unknown DOM property (`react/no-unknown-property`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prop-types.md
@@ -1,6 +1,6 @@
# Disallow missing props validation in a React component definition (`react/prop-types`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/react-in-jsx-scope.md
@@ -1,6 +1,6 @@
# Disallow missing React when using JSX (`react/react-in-jsx-scope`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/require-render-return.md
@@ -1,6 +1,6 @@
# Enforce ES5 or ES6 class for returning value in render function (`react/require-render-return`)

✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs).
✅ This rule is enabled in the `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).

<!-- end rule header -->

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"posttest": "aud --production",
"type-check": "tsc",
"unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js",
"update:eslint-docs": "eslint-doc-generator --ignore-config all --url-configs \"https://github.com/jsx-eslint/eslint-plugin-react/blob/master/README.md#shareable-configs\""
"update:eslint-docs": "eslint-doc-generator --ignore-config all --url-configs \"https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8b0f8a9

Please sign in to comment.