Skip to content

Commit

Permalink
chore(eslint-plugin): deprecate no-unused-public-signature
Browse files Browse the repository at this point in the history
It is being superseded by explicit-module-boundary-types.
  • Loading branch information
Guy Perkal committed Dec 10, 2019
1 parent 44657d6 commit e265779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/eslint-plugin/README.md
Expand Up @@ -184,7 +184,6 @@ Then you should add `airbnb` (or `airbnb-base`) to your `extends` section of `.e
| [`@typescript-eslint/no-unnecessary-qualifier`](./docs/rules/no-unnecessary-qualifier.md) | Warns when a namespace qualifier is unnecessary | | :wrench: | :thought_balloon: |
| [`@typescript-eslint/no-unnecessary-type-arguments`](./docs/rules/no-unnecessary-type-arguments.md) | Warns if an explicitly specified type argument is the default for that type parameter | | :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 | :heavy_check_mark: | :wrench: | :thought_balloon: |
| [`@typescript-eslint/no-untyped-public-signature`](./docs/rules/no-untyped-public-signature.md) | Requires that all public method arguments and return type will be explicitly typed | | | |
| [`@typescript-eslint/no-unused-expressions`](./docs/rules/no-unused-expressions.md) | Disallow unused expressions | | | |
| [`@typescript-eslint/no-unused-vars`](./docs/rules/no-unused-vars.md) | Disallow unused variables | :heavy_check_mark: | | |
| [`@typescript-eslint/no-unused-vars-experimental`](./docs/rules/no-unused-vars-experimental.md) | Disallow unused variables and arguments. | | | :thought_balloon: |
Expand Down
Expand Up @@ -11,6 +11,8 @@ type Options = [{ ignoredMethods: string[] }];
export default util.createRule<Options, MessageIds>({
name: 'no-unused-public-signature',
meta: {
deprecated: true,
replacedBy: ['exlicit-module-boundary-types'],
docs: {
description:
'Requires that all public method arguments and return type will be explicitly typed',
Expand Down

0 comments on commit e265779

Please sign in to comment.