Skip to content

Commit

Permalink
fix(datetimepicker): set rule intended to be a warning as a warning (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wise-king-sullyman authored Dec 12, 2023
1 parent 961d44f commit e69efc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-pf-codemods/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const warningRules = [
"chip-update-badgeAPI",
"conditional-aria",
"datePicker-warn-appendTo-default-value-changed",
"datepicker-warn-helperText",
"datetimepicker-warn-helperText",
"deprecatedSelect-warn-markupUpdated",
"emptyState-warn-change-structure",
"formControls-updated-markup",
Expand Down
2 changes: 2 additions & 0 deletions test/test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ import {
TextArea,
TextInput,
Title,
TimePicker,
Toggle,
ToggleGroupItem,
ToggleTemplateProps,
Expand Down Expand Up @@ -328,6 +329,7 @@ const themeClassName = 'pf-theme-dark';
customIconDimensions
/>
<TextInput onChange={(foo, event) => handler(foo, event)} />
<TimePicker helperText='foo' />
<Toggle isPrimary onToggle={} />
<ToggleGroupItem onChange={(foo, event) => handler(foo, event)} />
<Tooltip />
Expand Down

0 comments on commit e69efc9

Please sign in to comment.