Skip to content

Commit 326f67d

Browse files
chore(deps-dev): bump eslint-doc-generator from 0.17.0 to 0.19.0 (#399)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 0f76e1a commit 326f67d

16 files changed

+53
-45
lines changed

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
"prefer-arrow-callback": "error",
2020
"prefer-const": "error",
2121
"strict": ["error", "global"],
22-
"eslint-plugin/require-meta-docs-description": ["error", { "pattern": "^(Enforce|Require|Disallow|Prefer).+\\.$" }],
22+
"eslint-plugin/require-meta-docs-description": [
23+
"error",
24+
{ "pattern": "^(Enforce|Require|Disallow|Prefer).+\\.$" }
25+
],
2326
"eslint-plugin/prefer-placeholders": "error",
2427
"eslint-plugin/test-case-shorthand-strings": "error",
2528
"node/no-unsupported-features": ["error", { "version": 6 }],

README.md

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,30 @@ or start with the recommended rule set:
7878

7979
<!-- begin auto-generated rules list -->
8080

81-
✅ Enabled in the `recommended` configuration.\
82-
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
83-
84-
| Name                      | Description || 🔧 |
85-
| :------------------------------------------------------------------- | :------------------------------------------------------------------------------------- | :- | :- |
86-
| [always-return](docs/rules/always-return.md) | Require returning inside each `then()` to create readable and reusable Promise chains. || |
87-
| [avoid-new](docs/rules/avoid-new.md) | Disallow creating `new` promises outside of utility libs (use [pify][] instead). | | |
88-
| [catch-or-return](docs/rules/catch-or-return.md) | Enforce the use of `catch()` on un-returned promises. || |
89-
| [no-callback-in-promise](docs/rules/no-callback-in-promise.md) | Disallow calling `cb()` inside of a `then()` (use [nodeify][] instead). | | |
90-
| [no-multiple-resolved](docs/rules/no-multiple-resolved.md) | Disallow creating new promises with paths that resolve multiple times. | | |
91-
| [no-native](docs/rules/no-native.md) | Require creating a `Promise` constructor before using it in an ES5 environment. | | |
92-
| [no-nesting](docs/rules/no-nesting.md) | Disallow nested `then()` or `catch()` statements. | | |
93-
| [no-new-statics](docs/rules/no-new-statics.md) | Disallow calling `new` on a Promise static method. || 🔧 |
94-
| [no-promise-in-callback](docs/rules/no-promise-in-callback.md) | Disallow using promises inside of callbacks. | | |
95-
| [no-return-in-finally](docs/rules/no-return-in-finally.md) | Disallow return statements in `finally()`. | | |
96-
| [no-return-wrap](docs/rules/no-return-wrap.md) | Disallow wrapping values in `Promise.resolve` or `Promise.reject` when not needed. || |
97-
| [param-names](docs/rules/param-names.md) | Enforce consistent param names and ordering when creating new promises. || |
98-
| [prefer-await-to-callbacks](docs/rules/prefer-await-to-callbacks.md) | Prefer async/await to the callback pattern. | | |
99-
| [prefer-await-to-then](docs/rules/prefer-await-to-then.md) | Prefer `await` to `then()`/`catch()`/`finally()` for reading Promise values. | | |
100-
| [valid-params](docs/rules/valid-params.md) | Enforces the proper number of arguments are passed to Promise functions. | | |
81+
💼 Configurations enabled in.\
82+
⚠️ Configurations set to warn in.\
83+
🚫 Configurations disabled in.\
84+
✅ Set in the `recommended` configuration.\
85+
🔧 Automatically fixable by the
86+
[`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
87+
88+
| Name                      | Description | 💼 | ⚠️ | 🚫 | 🔧 |
89+
| :------------------------------------------------------------------- | :------------------------------------------------------------------------------------- | :-- | :-- | :-- | :-- |
90+
| [always-return](docs/rules/always-return.md) | Require returning inside each `then()` to create readable and reusable Promise chains. || | | |
91+
| [avoid-new](docs/rules/avoid-new.md) | Disallow creating `new` promises outside of utility libs (use [pify][] instead). | | || |
92+
| [catch-or-return](docs/rules/catch-or-return.md) | Enforce the use of `catch()` on un-returned promises. || | | |
93+
| [no-callback-in-promise](docs/rules/no-callback-in-promise.md) | Disallow calling `cb()` inside of a `then()` (use [nodeify][] instead). | || | |
94+
| [no-multiple-resolved](docs/rules/no-multiple-resolved.md) | Disallow creating new promises with paths that resolve multiple times. | | | | |
95+
| [no-native](docs/rules/no-native.md) | Require creating a `Promise` constructor before using it in an ES5 environment. | | || |
96+
| [no-nesting](docs/rules/no-nesting.md) | Disallow nested `then()` or `catch()` statements. | || | |
97+
| [no-new-statics](docs/rules/no-new-statics.md) | Disallow calling `new` on a Promise static method. || | | 🔧 |
98+
| [no-promise-in-callback](docs/rules/no-promise-in-callback.md) | Disallow using promises inside of callbacks. | || | |
99+
| [no-return-in-finally](docs/rules/no-return-in-finally.md) | Disallow return statements in `finally()`. | || | |
100+
| [no-return-wrap](docs/rules/no-return-wrap.md) | Disallow wrapping values in `Promise.resolve` or `Promise.reject` when not needed. || | | |
101+
| [param-names](docs/rules/param-names.md) | Enforce consistent param names and ordering when creating new promises. || | | |
102+
| [prefer-await-to-callbacks](docs/rules/prefer-await-to-callbacks.md) | Prefer async/await to the callback pattern. | | | | |
103+
| [prefer-await-to-then](docs/rules/prefer-await-to-then.md) | Prefer `await` to `then()`/`catch()`/`finally()` for reading Promise values. | | | | |
104+
| [valid-params](docs/rules/valid-params.md) | Enforces the proper number of arguments are passed to Promise functions. | || | |
101105

102106
<!-- end auto-generated rules list -->
103107

docs/rules/always-return.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Require returning inside each `then()` to create readable and reusable Promise chains (`promise/always-return`)
22

3-
This rule is enabled in the `recommended` config.
3+
💼 This rule is enabled in the `recommended` config.
44

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

docs/rules/avoid-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow creating `new` promises outside of utility libs (use [pify][] instead) (`promise/avoid-new`)
22

3-
This rule is _disabled_ in the `recommended` config.
3+
🚫 This rule is _disabled_ in the `recommended` config.
44

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

docs/rules/catch-or-return.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Enforce the use of `catch()` on un-returned promises (`promise/catch-or-return`)
22

3-
This rule is enabled in the `recommended` config.
3+
💼 This rule is enabled in the `recommended` config.
44

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

docs/rules/no-callback-in-promise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow calling `cb()` inside of a `then()` (use [nodeify][] instead) (`promise/no-callback-in-promise`)
22

3-
This rule will _warn_ in the `recommended` config.
3+
⚠️ This rule _warns_ in the `recommended` config.
44

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

docs/rules/no-native.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Require creating a `Promise` constructor before using it in an ES5 environment (`promise/no-native`)
22

3-
This rule is _disabled_ in the `recommended` config.
3+
🚫 This rule is _disabled_ in the `recommended` config.
44

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

docs/rules/no-nesting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow nested `then()` or `catch()` statements (`promise/no-nesting`)
22

3-
This rule will _warn_ in the `recommended` config.
3+
⚠️ This rule _warns_ in the `recommended` config.
44

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

docs/rules/no-new-statics.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Disallow calling `new` on a Promise static method (`promise/no-new-statics`)
22

3-
This rule is enabled in the `recommended` config.
3+
💼 This rule is enabled in the `recommended` config.
44

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

78
<!-- end auto-generated rule header -->
89

docs/rules/no-promise-in-callback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Disallow using promises inside of callbacks (`promise/no-promise-in-callback`)
22

3-
This rule will _warn_ in the `recommended` config.
3+
⚠️ This rule _warns_ in the `recommended` config.
44

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

0 commit comments

Comments
 (0)