Skip to content

Commit

Permalink
fix: typescript parser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-bandi committed Mar 5, 2024
1 parent db307b4 commit 8436cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/rules/boolean-prop-naming.js
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ ruleTester.run('boolean-prop-naming', rule, {
const HelloNew = (props: TestFNType) => { return <div /> };
`,
options: [{ rule: '^is[A-Z]([A-Za-z0-9]?)+' }],
features: ['ts'],
features: ['ts', 'no-babel'],
errors: [
{
message: 'Prop name (enabled) doesn\'t match rule (^is[A-Z]([A-Za-z0-9]?)+)',
Expand Down

0 comments on commit 8436cf6

Please sign in to comment.