Skip to content

Commit

Permalink
[eslint-plugin] feat: lint more deprecated interface names (#6193)
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya authored May 30, 2023
1 parent 9fd1107 commit 1d5c0a1
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions packages/eslint-plugin/src/rules/no-deprecated-type-references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const DEPRECATED_TYPE_REFERENCES_BY_PACKAGE = {
"IHandleProps",
"IMultiSliderProps",
"IRangeSliderProps",
"ISliderBaseProps",
"ISliderProps",
"ITabProps",
"ITabsProps",
Expand All @@ -108,7 +109,7 @@ const DEPRECATED_TYPE_REFERENCES_BY_PACKAGE = {
"ITimePickerProps",
],

"@blueprintjs/docs-theme": ["IExampleProps", "INavMenuItemProps", "ITagRendererMap"],
"@blueprintjs/docs-theme": ["IDocsExampleProps", "IExampleProps", "INavMenuItemProps", "ITagRendererMap"],

"@blueprintjs/popover2": [
"IPopover2Props",
Expand All @@ -133,19 +134,25 @@ const DEPRECATED_TYPE_REFERENCES_BY_PACKAGE = {
],

"@blueprintjs/table": [
"IStyledRegionGroup",
"ICellInterval",
"ICellCoordinate",
"ICellInterval",
"ICellProps",
"ICellRenderer",
"IColumnHeaderCellProps",
"IColumnHeaderCellRenderer",
"IColumnHeaderRenderer",
"IColumnProps",
"ICoordinateData",
"IFocusedCellCoordinates",
"IJSONFormatProps",
"IMenuContext",
"IRegion",
"IRowHeaderCellProps",
"IRowHeaderRenderer",
"IStyledRegionGroup",
"ITableBodyProps",
"ITableProps",
"ICellRenderer",
"IJSONFormatProps",
"ITruncatedFormatProps",
"IColumnHeaderCellRenderer",
"IColumnHeaderCellProps",
"IRowHeaderRenderer",
"IRowHeaderCellProps",
],

"@blueprintjs/timezone": ["ITimezoneItem", "ITimezonePickerProps"],
Expand Down

1 comment on commit 1d5c0a1

@adidahiya
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[eslint-plugin] feat: lint more deprecated interface names (#6193)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.