Skip to content

Commit 8c1f3b2

Browse files
author
Mathis Girault
committed
running doc generator
1 parent badcd79 commit 8c1f3b2

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

eslint-plugin/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -109,24 +109,24 @@ If your project uses a legacy ESLint version, it may use as well the now depreca
109109
✅ Set in the `flat/recommended` configuration.\
110110
✅ Set in the `recommended` configuration.
111111

112-
| Name | Description | ⚠️ |
113-
| :--------------------------------------------------------------------------------------------- | :-------------------------------------------------------- | :-- |
114-
| [avoid-autoplay](docs/rules/avoid-autoplay.md) | Avoid autoplay for videos and audio content ||
115-
| [avoid-brightness-override](docs/rules/avoid-brightness-override.md) | Should avoid to override brightness ||
116-
| [avoid-css-animations](docs/rules/avoid-css-animations.md) | Avoid usage of CSS animations ||
117-
| [avoid-getting-size-collection-in-loop](docs/rules/avoid-getting-size-collection-in-loop.md) | Avoid getting size collection in loop ||
118-
| [avoid-high-accuracy-geolocation](docs/rules/avoid-high-accuracy-geolocation.md) | Avoid using high accuracy geolocation in web applications ||
119-
| [avoid-keep-awake](docs/rules/avoid-keep-awake.md) | Avoid screen keep awake ||
120-
| [limit-db-query-results](docs/rules/limit-db-query-results.md) | Should limit the number of returns for a SQL query ||
121-
| [no-empty-image-src-attribute](docs/rules/no-empty-image-src-attribute.md) | Disallow usage of image with empty source attribute ||
122-
| [no-import-all-from-library](docs/rules/no-import-all-from-library.md) | Should not import all from library ||
123-
| [no-multiple-access-dom-element](docs/rules/no-multiple-access-dom-element.md) | Disallow multiple access of same DOM element ||
124-
| [no-multiple-style-changes](docs/rules/no-multiple-style-changes.md) | Disallow multiple style changes at once ||
125-
| [no-torch](docs/rules/no-torch.md) | Should not programmatically enable torch mode ||
126-
| [prefer-collections-with-pagination](docs/rules/prefer-collections-with-pagination.md) | Prefer API collections with pagination ||
127-
| [prefer-lighter-formats-for-image-files](docs/rules/prefer-lighter-formats-for-image-files.md) | Prefer lighter formats for image files ||
128-
| [prefer-shorthand-css-notations](docs/rules/prefer-shorthand-css-notations.md) | Encourage usage of shorthand CSS notations ||
129-
| [provide-print-css](docs/rules/provide-print-css.md) | Enforce providing a print stylesheet ||
112+
| Name                                   | Description | ⚠️ |
113+
| :--------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------ | :-- |
114+
| [avoid-autoplay](docs/rules/avoid-autoplay.md) | Avoid autoplay for videos and audio content ||
115+
| [avoid-brightness-override](docs/rules/avoid-brightness-override.md) | Should avoid to override brightness ||
116+
| [avoid-css-animations](docs/rules/avoid-css-animations.md) | Avoid usage of CSS animations ||
117+
| [avoid-getting-size-collection-in-loop](docs/rules/avoid-getting-size-collection-in-loop.md) | Avoid getting the size/length of the collection in loops and callbacks. Assign it to a variable before the loop/callback. ||
118+
| [avoid-high-accuracy-geolocation](docs/rules/avoid-high-accuracy-geolocation.md) | Avoid using high accuracy geolocation in web applications ||
119+
| [avoid-keep-awake](docs/rules/avoid-keep-awake.md) | Avoid screen keep awake ||
120+
| [limit-db-query-results](docs/rules/limit-db-query-results.md) | Should limit the number of returns for a SQL query ||
121+
| [no-empty-image-src-attribute](docs/rules/no-empty-image-src-attribute.md) | Disallow usage of image with empty source attribute ||
122+
| [no-import-all-from-library](docs/rules/no-import-all-from-library.md) | Should not import all from library ||
123+
| [no-multiple-access-dom-element](docs/rules/no-multiple-access-dom-element.md) | Disallow multiple access of same DOM element ||
124+
| [no-multiple-style-changes](docs/rules/no-multiple-style-changes.md) | Disallow multiple style changes at once ||
125+
| [no-torch](docs/rules/no-torch.md) | Should not programmatically enable torch mode ||
126+
| [prefer-collections-with-pagination](docs/rules/prefer-collections-with-pagination.md) | Prefer API collections with pagination ||
127+
| [prefer-lighter-formats-for-image-files](docs/rules/prefer-lighter-formats-for-image-files.md) | Prefer lighter formats for image files ||
128+
| [prefer-shorthand-css-notations](docs/rules/prefer-shorthand-css-notations.md) | Encourage usage of shorthand CSS notations ||
129+
| [provide-print-css](docs/rules/provide-print-css.md) | Enforce providing a print stylesheet ||
130130

131131
<!-- end auto-generated rules list -->
132132

eslint-plugin/docs/rules/avoid-getting-size-collection-in-loop.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Should avoid getting the collection size in loop
1+
# Avoid getting the size/length of the collection in loops and callbacks. Assign it to a variable before the loop/callback (`@creedengo/avoid-getting-size-collection-in-loop`)
2+
3+
⚠️ This rule _warns_ in the following configs: ✅ `flat/recommended`, ✅ `recommended`.
4+
5+
<!-- end auto-generated rule header -->
26

37
## Why is this an issue ?
48

0 commit comments

Comments
 (0)