Skip to content

Commit 0960bd9

Browse files
committed
docs: remove 'rule category' section from docs
1 parent 9a26e3d commit 0960bd9

File tree

87 files changed

+200
-535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+200
-535
lines changed

packages/plugins/eslint-plugin-react-debug/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default [
3939

4040
## Rules
4141

42-
| Rule | Description | 💼 | 💭 | |
43-
| :------------------- | :------------------------------------------------------- | :-: | :-: | :-: |
44-
| `class-component` | Reports all class components. | 🐞 | | |
45-
| `function-component` | Reports all function components. | 🐞 | | |
46-
| `hook` | Reports all react hooks. | 🐞 | | |
47-
| `is-from-react` | Reports all identifiers that are initialized from React. | 🐞 | | |
42+
| Rule | Description | 💭 | |
43+
| :------------------- | :------------------------------------------------------- | :-: | :-: |
44+
| `class-component` | Reports all class components. | | |
45+
| `function-component` | Reports all function components. | | |
46+
| `hook` | Reports all react hooks. | | |
47+
| `is-from-react` | Reports all identifiers that are initialized from React. | | |

packages/plugins/eslint-plugin-react-dom/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ export default [
4848

4949
## Rules
5050

51-
| Rule | Description | 💼 | 💭 | |
52-
| :------------------------------------------- | :-------------------------------------------------------------------------------------- | :-: | :-: | :-: |
53-
| `no-children-in-void-dom-elements` | Prevents usage of `children` in void `DOM elements`. | ✔️ | | |
54-
| `no-dangerously-set-innerhtml-with-children` | Prevents `DOM element` using `dangerouslySetInnerHTML` and `children` at the same time. | ✔️ | | |
55-
| `no-dangerously-set-innerhtml` | Prevents `DOM element` using `dangerouslySetInnerHTML`. | 🔒 | | |
56-
| `no-find-dom-node` | Prevents usage of `findDOMNode`. | | | |
57-
| `no-missing-button-type` | Enforces explicit `type` attribute for `<button>` elements. | ✔️ | | |
58-
| `no-missing-iframe-sandbox` | Enforces explicit `sandbox` attribute for `iframe` elements. | 🔒 | | |
59-
| `no-namespace` | Enforces the absence of a `namespace` in React elements. | ✔️ | | |
60-
| `no-render-return-value` | Prevents usage of the return value of `ReactDOM.render`. | | | |
61-
| `no-script-url` | Prevents usage of `javascript:` URLs as the value of certain attributes. | 🔒 | | |
62-
| `no-unknown-property` | Prevents usage of unknown DOM property. | ✔️ | | 🔧 |
63-
| `no-unsafe-iframe-sandbox` | Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations. | 🔒 | | |
64-
| `no-unsafe-target-blank` | Prevents usage of `target="_blank"` without `rel="noreferrer noopener"`. | 🔒 | | |
51+
| Rule | Description | 💭 | |
52+
| :------------------------------------------- | :-------------------------------------------------------------------------------------- | :-: | :-: |
53+
| `no-children-in-void-dom-elements` | Prevents usage of `children` in void `DOM elements`. | | |
54+
| `no-dangerously-set-innerhtml-with-children` | Prevents `DOM element` using `dangerouslySetInnerHTML` and `children` at the same time. | | |
55+
| `no-dangerously-set-innerhtml` | Prevents `DOM element` using `dangerouslySetInnerHTML`. | | |
56+
| `no-find-dom-node` | Prevents usage of `findDOMNode`. | | |
57+
| `no-missing-button-type` | Enforces explicit `type` attribute for `<button>` elements. | | |
58+
| `no-missing-iframe-sandbox` | Enforces explicit `sandbox` attribute for `iframe` elements. | | |
59+
| `no-namespace` | Enforces the absence of a `namespace` in React elements. | | |
60+
| `no-render-return-value` | Prevents usage of the return value of `ReactDOM.render`. | | |
61+
| `no-script-url` | Prevents usage of `javascript:` URLs as the value of certain attributes. | | |
62+
| `no-unknown-property` | Prevents usage of unknown DOM property. | | 🔧 |
63+
| `no-unsafe-iframe-sandbox` | Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations. | | |
64+
| `no-unsafe-target-blank` | Prevents usage of `target="_blank"` without `rel="noreferrer noopener"`. | | |

packages/plugins/eslint-plugin-react-hooks-extra/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export default [
3939

4040
## Rules
4141

42-
| Rule | Description | 💼 | 💭 | |
43-
| :------------------------------------- | :------------------------------------------------------------------------ | :-: | :-: | :-: |
44-
| `no-direct-set-state-in-use-effect` | Disallow direct calls to the `set` function of `useState` in `useEffect`. | ✔️ | | |
45-
| `no-redundant-custom-hook` | Warns when custom Hooks that don't use other Hooks. | ✔️ | | |
46-
| `no-unnecessary-use-callback` | Disallow unnecessary usage of `useCallback`. | ✔️ | | |
47-
| `no-unnecessary-use-memo` | Disallow unnecessary usage of `useMemo`. | ✔️ | | |
48-
| `prefer-use-state-lazy-initialization` | Warns function calls made inside `useState` calls. | 🚀 | | |
42+
| Rule | Description | 💭 | |
43+
| :------------------------------------- | :------------------------------------------------------------------------ | :-: | :-: |
44+
| `no-direct-set-state-in-use-effect` | Disallow direct calls to the `set` function of `useState` in `useEffect`. | | |
45+
| `no-redundant-custom-hook` | Warns when custom Hooks that don't use other Hooks. | | |
46+
| `no-unnecessary-use-callback` | Disallow unnecessary usage of `useCallback`. | | |
47+
| `no-unnecessary-use-memo` | Disallow unnecessary usage of `useMemo`. | | |
48+
| `prefer-use-state-lazy-initialization` | Warns function calls made inside `useState` calls. | | |

packages/plugins/eslint-plugin-react-naming-convention/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ export default [
3838

3939
## Rules
4040

41-
| Rule | Description | 💼 | 💭 | |
42-
| :------------------- | :----------------------------------------------------------------------------------------- | :-: | :-: | :-: |
43-
| `component-name` | Enforces naming conventions for components. | 📖 | | |
44-
| `filename` | Enforces naming convention for JSX files. | 📖 | | |
45-
| `filename-extension` | Enforces consistent use of the JSX file extension. | 📖 | | |
46-
| `use-state` | Enforces destructuring and symmetric naming of `useState` hook value and setter variables. | 📖 | | |
41+
| Rule | Description | 💭 | |
42+
| :------------------- | :----------------------------------------------------------------------------------------- | :-: | :-: |
43+
| `component-name` | Enforces naming conventions for components. | | |
44+
| `filename` | Enforces naming convention for JSX files. | | |
45+
| `filename-extension` | Enforces consistent use of the JSX file extension. | | |
46+
| `use-state` | Enforces destructuring and symmetric naming of `useState` hook value and setter variables. | | |

packages/plugins/eslint-plugin-react-web-api/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,26 @@ export default [
3737

3838
## Rules
3939

40-
| Rule | Description | 💼 | 💭 | |
41-
| :-------------------------------------- | :-------------------------------------------- | :-: | :-: | :-: |
42-
| `no-leaked-timeout` | Prevents leaked `setTimeout` | ✔️ | | |
43-
| `no-leaked-interval` | Prevents leaked `setInterval` | ✔️ | | |
44-
| `no-leaked-idle-callback` | Prevents leaked `requestIdleCallback` | ✔️ | | 🚧 |
45-
| `no-leaked-animation-frame` | Prevents leaked `requestAnimationFrame` | ✔️ | | 🚧 |
46-
| `no-leaked-event-source` | Prevents leaked `EventSource` | ✔️ | | 🚧 |
47-
| `no-leaked-event-listener` | Prevents leaked `addEventListener` | ✔️ | | |
48-
| `no-leaked-resize-observer` | Prevents leaked `ResizeObserver` | ✔️ | | |
49-
| `no-leaked-intersection-observer` | Prevents leaked `IntersectionObserver` | ✔️ | | 🚧 |
50-
| `no-leaked-mutation-observer` | Prevents leaked `MutationObserver` | ✔️ | | 🚧 |
51-
| `no-leaked-performance-observer` | Prevents leaked `PerformanceObserver` | ✔️ | | 🚧 |
52-
| `no-leaked-websocket` | Prevents leaked `WebSocket` | ✔️ | | 🚧 |
53-
| `no-leaked-broadcast-channel` | Prevents leaked `BroadcastChannel` | ✔️ | | 🚧 |
54-
| `no-leaked-geolocation` | Prevents leaked `Geolocation.watchPosition()` | ✔️ | | 🚧 |
55-
| `no-leaked-absolute-orientation-sensor` | Prevents leaked `AbsoluteOrientationSensor` | ✔️ | | 🚧 |
56-
| `no-leaked-relative-accelerometer` | Prevents leaked `Accelerometer` | ✔️ | | 🚧 |
57-
| `no-leaked-ambient-light-sensor` | Prevents leaked `AmbientLightSensor` | ✔️ | | 🚧 |
58-
| `no-leaked-gravity-sensor` | Prevents leaked `GravitySensor` | ✔️ | | 🚧 |
59-
| `no-leaked-gyroscope` | Prevents leaked `Gyroscope` | ✔️ | | 🚧 |
60-
| `no-leaked-linear-acceleration-sensor` | Prevents leaked `LinearAccelerationSensor` | ✔️ | | 🚧 |
61-
| `no-leaked-magnetometer` | Prevents leaked `Magnetometer` | ✔️ | | 🚧 |
62-
| `no-leaked-orientation-sensor` | Prevents leaked `OrientationSensor` | ✔️ | | 🚧 |
40+
| Rule | Description | 💭 | |
41+
| :-------------------------------------- | :-------------------------------------------- | :-: | :-: |
42+
| `no-leaked-timeout` | Prevents leaked `setTimeout` | | |
43+
| `no-leaked-interval` | Prevents leaked `setInterval` | | |
44+
| `no-leaked-idle-callback` | Prevents leaked `requestIdleCallback` | | 🚧 |
45+
| `no-leaked-animation-frame` | Prevents leaked `requestAnimationFrame` | | 🚧 |
46+
| `no-leaked-event-source` | Prevents leaked `EventSource` | | 🚧 |
47+
| `no-leaked-event-listener` | Prevents leaked `addEventListener` | | |
48+
| `no-leaked-resize-observer` | Prevents leaked `ResizeObserver` | | |
49+
| `no-leaked-intersection-observer` | Prevents leaked `IntersectionObserver` | | 🚧 |
50+
| `no-leaked-mutation-observer` | Prevents leaked `MutationObserver` | | 🚧 |
51+
| `no-leaked-performance-observer` | Prevents leaked `PerformanceObserver` | | 🚧 |
52+
| `no-leaked-websocket` | Prevents leaked `WebSocket` | | 🚧 |
53+
| `no-leaked-broadcast-channel` | Prevents leaked `BroadcastChannel` | | 🚧 |
54+
| `no-leaked-geolocation` | Prevents leaked `Geolocation.watchPosition()` | | 🚧 |
55+
| `no-leaked-absolute-orientation-sensor` | Prevents leaked `AbsoluteOrientationSensor` | | 🚧 |
56+
| `no-leaked-relative-accelerometer` | Prevents leaked `Accelerometer` | | 🚧 |
57+
| `no-leaked-ambient-light-sensor` | Prevents leaked `AmbientLightSensor` | | 🚧 |
58+
| `no-leaked-gravity-sensor` | Prevents leaked `GravitySensor` | | 🚧 |
59+
| `no-leaked-gyroscope` | Prevents leaked `Gyroscope` | | 🚧 |
60+
| `no-leaked-linear-acceleration-sensor` | Prevents leaked `LinearAccelerationSensor` | | 🚧 |
61+
| `no-leaked-magnetometer` | Prevents leaked `Magnetometer` | | 🚧 |
62+
| `no-leaked-orientation-sensor` | Prevents leaked `OrientationSensor` | | 🚧 |

0 commit comments

Comments
 (0)