Skip to content

Commit c6a387f

Browse files
authored
fix(eslint-plugin): [consistent-type-assertions] allow default assertionStyle option (typescript-eslint#10512)
1 parent 4747299 commit c6a387f

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

packages/eslint-plugin/src/rules/consistent-type-assertions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export default createRule<Options, MessageIds>({
8282
enum: ['allow', 'allow-as-parameter', 'never'],
8383
},
8484
},
85-
required: ['assertionStyle'],
8685
},
8786
],
8887
},

packages/eslint-plugin/tests/schema-snapshots/consistent-type-assertions.shot

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)