Skip to content

Commit

Permalink
docs(eslint-plugin): [no-unsafe-argument] fix grammar (#3889)
Browse files Browse the repository at this point in the history
* Update no-unsafe-argument.md

fixed grammar

* chore: fixes grammar error
  • Loading branch information
lgenzelis committed Oct 3, 2021
1 parent 214f898 commit 3c773e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/README.md
Expand Up @@ -145,7 +145,7 @@ Pro Tip: For larger codebases you may want to consider splitting our linting int
| [`@typescript-eslint/no-unnecessary-type-arguments`](./docs/rules/no-unnecessary-type-arguments.md) | Enforces that type arguments will not be used if not required | | :wrench: | :thought_balloon: |
| [`@typescript-eslint/no-unnecessary-type-assertion`](./docs/rules/no-unnecessary-type-assertion.md) | Warns if a type assertion does not change the type of an expression | :white_check_mark: | :wrench: | :thought_balloon: |
| [`@typescript-eslint/no-unnecessary-type-constraint`](./docs/rules/no-unnecessary-type-constraint.md) | Disallows unnecessary constraints on generic types | | :wrench: | |
| [`@typescript-eslint/no-unsafe-argument`](./docs/rules/no-unsafe-argument.md) | Disallows calling an function with an any type value | | | :thought_balloon: |
| [`@typescript-eslint/no-unsafe-argument`](./docs/rules/no-unsafe-argument.md) | Disallows calling a function with an any type value | | | :thought_balloon: |
| [`@typescript-eslint/no-unsafe-assignment`](./docs/rules/no-unsafe-assignment.md) | Disallows assigning any to variables and properties | :white_check_mark: | | :thought_balloon: |
| [`@typescript-eslint/no-unsafe-call`](./docs/rules/no-unsafe-call.md) | Disallows calling an any type value | :white_check_mark: | | :thought_balloon: |
| [`@typescript-eslint/no-unsafe-member-access`](./docs/rules/no-unsafe-member-access.md) | Disallows member access on any typed variables | :white_check_mark: | | :thought_balloon: |
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/no-unsafe-argument.md
@@ -1,4 +1,4 @@
# Disallows calling an function with an any type value (`no-unsafe-argument`)
# Disallows calling a function with an any type value (`no-unsafe-argument`)

Despite your best intentions, the `any` type can sometimes leak into your codebase.
Call a function with `any` typed argument are not checked at all by TypeScript, so it creates a potential safety hole, and source of bugs in your codebase.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/no-unsafe-argument.ts
Expand Up @@ -137,7 +137,7 @@ export default util.createRule<[], MessageIds>({
meta: {
type: 'problem',
docs: {
description: 'Disallows calling an function with an any type value',
description: 'Disallows calling a function with an any type value',
category: 'Possible Errors',
// TODO - enable this with next breaking
recommended: false,
Expand Down

0 comments on commit 3c773e4

Please sign in to comment.