Skip to content

Commit c7b815c

Browse files
docs: update autogen docs
1 parent 6a2ad4d commit c7b815c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The [below section](#rules) gives details on which rules are enabled by each rul
108108

109109
| Name | Description | 💼 | ⚠️ | 🚫 | 🔧 | 💡 | 💭 ||
110110
| :------------------------------------------------------- | :----------------------------------------------------- | :-------------------------------- | :-- | :---- | :-- | :-- | :-- | :-- |
111-
| [no-promise-reject](docs/rules/no-promise-reject.md) | Disallow try-catch[-finally] and try-finally patterns. | | | | | | | |
111+
| [no-promise-reject](docs/rules/no-promise-reject.md) | Disallow rejecting promises. | | | | | | | |
112112
| [no-throw-statements](docs/rules/no-throw-statements.md) | Disallow throwing exceptions. | ☑️ ✅ 🔒 ![badge-no-exceptions][] | | | | | | |
113113
| [no-try-statements](docs/rules/no-try-statements.md) | Disallow try-catch[-finally] and try-finally patterns. | 🔒 ![badge-no-exceptions][] | | ☑️ ✅ | | | | |
114114

docs/rules/no-promise-reject.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Disallow rejecting promises
1+
# Disallow rejecting promises (`functional/no-promise-reject`)
22

33
<!-- end auto-generated rule header -->
44

@@ -37,6 +37,6 @@ async function divide(x, y) {
3737

3838
return yv === 0
3939
? { error: new Error("Cannot divide by zero.") }
40-
: { value: xv / yv};
40+
: { value: xv / yv };
4141
}
4242
```

0 commit comments

Comments
 (0)