Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7fcbd9f

Browse files
authoredDec 15, 2022
Merge branch 'master' into fix/jsx-no-leaked-render-removing-paranthesis
2 parents 63b7785 + c9f5eb2 commit 7fcbd9f

File tree

6 files changed

+120
-107
lines changed

6 files changed

+120
-107
lines changed
 

‎.eslint-doc-generatorrc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/** @type {import('eslint-doc-generator').GenerateOptions} */
2+
const config = {
3+
configEmoji: [
4+
['jsx-runtime', '🏃'],
5+
['recommended', '☑️'],
6+
],
7+
ignoreConfig: ['all'],
8+
urlConfigs: 'https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs',
9+
};
10+
11+
module.exports = config;

‎CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
2323
* [Docs] [`jsx-no-leaked-render`]: Remove mentions of empty strings for React 18 ([#3468][] @karlhorky)
2424
* [Docs] update `eslint-doc-generator` to v1.0.0 ([#3499][] @bmish)
2525
* [meta] add issue template ([#3483][] @ROSSROSALES)
26+
* [Docs] Use emoji for jsx-runtime config and config file for eslint-doc-generator ([#3504][] @bmish)[
2627

28+
[#3504]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3504
2729
[#3499]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3499
2830
[#3494]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3494
2931
[#3493]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3493

‎README.md

Lines changed: 103 additions & 104 deletions
Large diffs are not rendered by default.

‎docs/rules/jsx-uses-react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow React to be incorrectly marked as unused (`react/jsx-uses-react`)
22

3-
💼🚫 This rule is enabled in the ☑️ `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs). This rule is _disabled_ in the `jsx-runtime` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).
3+
💼🚫 This rule is enabled in the ☑️ `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs). This rule is _disabled_ in the 🏃 `jsx-runtime` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).
44

55
<!-- end auto-generated rule header -->
66

‎docs/rules/react-in-jsx-scope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow missing React when using JSX (`react/react-in-jsx-scope`)
22

3-
💼🚫 This rule is enabled in the ☑️ `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs). This rule is _disabled_ in the `jsx-runtime` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).
3+
💼🚫 This rule is enabled in the ☑️ `recommended` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs). This rule is _disabled_ in the 🏃 `jsx-runtime` [config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).
44

55
<!-- end auto-generated rule header -->
66

‎package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"posttest": "aud --production",
1717
"type-check": "tsc",
1818
"unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js",
19-
"update:eslint-docs": "eslint-doc-generator --ignore-config all --config-emoji recommended,☑️ --url-configs \"https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs\""
19+
"update:eslint-docs": "eslint-doc-generator"
2020
},
2121
"repository": {
2222
"type": "git",
@@ -94,6 +94,7 @@
9494
"tests/",
9595
"*.md",
9696
"*.config.js",
97+
".eslint-doc-generatorrc.js",
9798
".eslintrc",
9899
".editorconfig",
99100
"tsconfig.json",

0 commit comments

Comments
 (0)
Please sign in to comment.