8000 docs: fix typo for `only-throw-error` rule (#10018) Β· ronami/typescript-eslint@7865a55 Β· GitHub
[go: up one dir, main page]

Skip to content

Commit 7865a55

Browse files
docs: fix typo for only-throw-error rule (typescript-eslint#10018)
1 parent 385bedb commit 7865a55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

β€Žpackages/eslint-plugin/TSLINT_RULE_ALTERNATIVES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ It lists all TSLint rules along side rules from the ESLint ecosystem that are th
8585
| [`no-shadowed-variable`] | 🌟 | [`no-shadow`][no-shadow] |
8686
| [`no-sparse-arrays`] | 🌟 | [`no-sparse-arrays`][no-sparse-arrays] |
8787
| [`no-string-literal`] | 🌟 | [`dot-notation`][dot-notation] |
88-
| [`no-string-throw`] | βœ… | [`@typescript-eslint/only-throw-literal`] |
88+
| [`no-string-throw`] | βœ… | [`@typescript-eslint/only-throw-error`] |
8989
| [`no-submodule-imports`] | πŸŒ“ | [`import/no-internal-modules`] (slightly different) |
9090
| [`no-switch-case-fall-through`] | 🌟 | [`no-fallthrough`][no-fallthrough] |
9191
| [`no-tautology-expression`] | πŸ›‘ | N/A |
@@ -622,7 +622,7 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-
622622
[`@typescript-eslint/no-unnecessary-boolean-literal-compare`]: https://typescript-eslint.io/rules/no-unnecessary-boolean-literal-compare
623623
[`@typescript-eslint/no-misused-new`]: https://typescript-eslint.io/rules/no-misused-new
624624
[`@typescript-eslint/no-this-alias`]: https://typescript-eslint.io/rules/no-this-alias
625-
[`@typescript-eslint/only-throw-literal`]: https://typescript-eslint.io/rules/only-throw-literal
625+
[`@typescript-eslint/only-throw-error`]: https://typescript-eslint.io/rules/only-throw-error
626626
[`@typescript-eslint/no-extraneous-class`]: https://typescript-eslint.io/rules/no-extraneous-class
627627
[`@typescript-eslint/no-unused-vars`]: https://typescript-eslint.io/rules/no-unused-vars
628628
[`@typescript-eslint/no-use-before-define`]: https://typescript-eslint.io/rules/no-use-before-define

0 commit comments

Comments
Β (0)
0