Skip to content

Commit e5b1b49

Browse files
committed
docs: update changelog
1 parent 1bc8e14 commit e5b1b49

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

CHANGELOG.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,54 +61,54 @@ The rule implementations have been refactored to improve performance and maintai
6161

6262
**Added the following new rules:**
6363

64-
- `react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes
65-
- `react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments
66-
- `react-x/no-forbidden-props`: Disallows specific props on components
67-
- `react-x/no-unnecessary-key`: Reports unnecessary `key` props on elements
68-
- `react-x/no-unused-props`: Reports unused props in components
69-
- `react-dom/no-string-style-prop`: Disallows string values for the `style` prop
70-
- `react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom`
64+
- `react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes by @Rel1cx
65+
- `react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments by @Rel1cx
66+
- `react-x/no-forbidden-props`: Disallows specific props on components by @reteps
67+
- `react-x/no-unnecessary-key`: Reports unnecessary `key` props on elements by @Rel1cx @kachkaev
68+
- `react-x/no-unused-props`: Reports unused props in components by @ulrichstark
69+
- `react-dom/no-string-style-prop`: Disallows string values for the `style` prop by @Rel1cx @karlhorky
70+
- `react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom` by @Rel1cx
7171

7272
**Added the following new rule to the `recommended-type-checked` preset:**
7373

7474
- `react-x/no-unused-props`: Reports unused props in components
7575

7676
**The following rules now support Codemod features:**
7777

78-
- `react-x/no-component-did-update`
79-
- `react-x/no-component-will-receive-props`
80-
- `react-x/no-component-will-update`
81-
- `react-x/no-context-provider`
82-
- `react-x/no-forward-ref`
83-
- `react-x/no-string-refs`
78+
- `react-x/no-component-did-update` by @Rel1cx
79+
- `react-x/no-component-will-receive-props` by @Rel1cx
80+
- `react-x/no-component-will-update` by @Rel1cx
81+
- `react-x/no-context-provider` by @Rel1cx
82+
- `react-x/no-forward-ref` by @Rel1cx
83+
- `react-x/no-string-refs` by @Rel1cx
8484

8585
**The following rules now support auto-fix:**
8686

87-
- `react-x/no-missing-context-display-name`
87+
- `react-x/no-missing-context-display-name` by @k-yle
8888

8989
**The following rules now support suggestion fixes:**
9090

91-
- `react-dom/no-missing-button-type`
92-
- `react-dom/no-missing-iframe-sandbox`
93-
- `react-dom/no-unsafe-target-blank`
91+
- `react-dom/no-missing-button-type` by @Rel1cx
92+
- `react-dom/no-missing-iframe-sandbox` by @Rel1cx
93+
- `react-dom/no-unsafe-target-blank` by @Rel1cx
9494

9595
**New configuration preset added:**
9696

97-
- `disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
97+
- `disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins by @reteps
9898

9999
### 🐞 Fixes
100100

101-
- fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files
102-
- fix(react-web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly
103-
- fix(react-naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx`
101+
- fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files by @Rel1cx
102+
- fix(react-web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly by @Rel1cx
103+
- fix(react-naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx` by @Rel1cx
104104

105105
### 🪄 Improvements
106106

107-
- refactor: simplify React APIs detection logic
108-
- refactor: cleanup utilities and simplify rule implementations
109-
- docs: add comparison table between `eslint-plugin-react` and `eslint-react` rules
110-
- docs: replace `tseslint.config` with `defineConfig` in all examples
111-
- build: migrate build system from `tsup` to `tsdown` for better performance
107+
- refactor: simplify React APIs detection logic by @Rel1cx
108+
- refactor: cleanup utilities and simplify rule implementations by @Rel1cx
109+
- docs: add comparison table between `eslint-plugin-react` and `eslint-react` rules by @reteps
110+
- docs: replace `tseslint.config` with `defineConfig` in all examples by @Rel1cx
111+
- build: migrate build system from `tsup` to `tsdown` for better performance by @Rel1cx
112112

113113
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.53.1...v2.0.0
114114

apps/website/content/docs/changelog.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -65,54 +65,54 @@ The rule implementations have been refactored to improve performance and maintai
6565

6666
**Added the following new rules:**
6767

68-
- `react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes
69-
- `react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments
70-
- `react-x/no-forbidden-props`: Disallows specific props on components
71-
- `react-x/no-unnecessary-key`: Reports unnecessary `key` props on elements
72-
- `react-x/no-unused-props`: Reports unused props in components
73-
- `react-dom/no-string-style-prop`: Disallows string values for the `style` prop
74-
- `react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom`
68+
- `react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes by @Rel1cx
69+
- `react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments by @Rel1cx
70+
- `react-x/no-forbidden-props`: Disallows specific props on components by @reteps
71+
- `react-x/no-unnecessary-key`: Reports unnecessary `key` props on elements by @Rel1cx @kachkaev
72+
- `react-x/no-unused-props`: Reports unused props in components by @ulrichstark
73+
- `react-dom/no-string-style-prop`: Disallows string values for the `style` prop by @Rel1cx @karlhorky
74+
- `react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom` by @Rel1cx
7575

7676
**Added the following new rule to the `recommended-type-checked` preset:**
7777

7878
- `react-x/no-unused-props`: Reports unused props in components
7979

8080
**The following rules now support Codemod features:**
8181

82-
- `react-x/no-component-did-update`
83-
- `react-x/no-component-will-receive-props`
84-
- `react-x/no-component-will-update`
85-
- `react-x/no-context-provider`
86-
- `react-x/no-forward-ref`
87-
- `react-x/no-string-refs`
82+
- `react-x/no-component-did-update` by @Rel1cx
83+
- `react-x/no-component-will-receive-props` by @Rel1cx
84+
- `react-x/no-component-will-update` by @Rel1cx
85+
- `react-x/no-context-provider` by @Rel1cx
86+
- `react-x/no-forward-ref` by @Rel1cx
87+
- `react-x/no-string-refs` by @Rel1cx
8888

8989
**The following rules now support auto-fix:**
9090

91-
- `react-x/no-missing-context-display-name`
91+
- `react-x/no-missing-context-display-name` by @k-yle
9292

9393
**The following rules now support suggestion fixes:**
9494

95-
- `react-dom/no-missing-button-type`
96-
- `react-dom/no-missing-iframe-sandbox`
97-
- `react-dom/no-unsafe-target-blank`
95+
- `react-dom/no-missing-button-type` by @Rel1cx
96+
- `react-dom/no-missing-iframe-sandbox` by @Rel1cx
97+
- `react-dom/no-unsafe-target-blank` by @Rel1cx
9898

9999
**New configuration preset added:**
100100

101-
- `disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
101+
- `disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins by @reteps
102102

103103
### 🐞 Fixes
104104

105-
- fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files
106-
- fix(react-web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly
107-
- fix(react-naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx`
105+
- fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files by @Rel1cx
106+
- fix(react-web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly by @Rel1cx
107+
- fix(react-naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx` by @Rel1cx
108108

109109
### 🪄 Improvements
110110

111-
- refactor: simplify React APIs detection logic
112-
- refactor: cleanup utilities and simplify rule implementations
113-
- docs: add comparison table between `eslint-plugin-react` and `eslint-react` rules
114-
- docs: replace `tseslint.config` with `defineConfig` in all examples
115-
- build: migrate build system from `tsup` to `tsdown` for better performance
111+
- refactor: simplify React APIs detection logic by @Rel1cx
112+
- refactor: cleanup utilities and simplify rule implementations by @Rel1cx
113+
- docs: add comparison table between `eslint-plugin-react` and `eslint-react` rules by @reteps
114+
- docs: replace `tseslint.config` with `defineConfig` in all examples by @Rel1cx
115+
- build: migrate build system from `tsup` to `tsdown` for better performance by @Rel1cx
116116

117117
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.53.1...v2.0.0
118118

0 commit comments

Comments
 (0)