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 Sep 8, 2019
1 parent c8a261d commit 6d37bf4
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
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"semi": "off",
"@typescript-eslint/semi": "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
Original file line number Diff line number Diff line change
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 6d37bf4

Please sign in to comment.