Skip to content

Commit

Permalink
fix(eslint-plugin): yarn generate:configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyayers committed Jan 7, 2020
1 parent 1df0433 commit 97fa253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/eslint-plugin/src/configs/all.json
Expand Up @@ -90,6 +90,7 @@
"space-before-function-paren": "off",
"@typescript-eslint/space-before-function-paren": "error",
"@typescript-eslint/strict-boolean-expressions": "error",
"@typescript-eslint/strict-type-predicates": "error",
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/typedef": "error",
Expand Down
5 changes: 2 additions & 3 deletions packages/eslint-plugin/src/rules/strict-type-predicates.ts
Expand Up @@ -12,7 +12,7 @@ import {
type Options = [
{
typesToIgnore?: string[];
}
},
];
type MessageIds =
| 'expressionAlwaysFalse'
Expand All @@ -28,8 +28,7 @@ export default util.createRule<Options, MessageIds>({
meta: {
type: 'suggestion',
docs: {
description:
'Warns for type predicates that are always true or always false',
description: 'Disallow always true (or false) type predicates',
category: 'Best Practices',
recommended: false,
},
Expand Down

0 comments on commit 97fa253

Please sign in to comment.