Skip to content

Commit 8aec14b

Browse files
authored
[chore] Lint and formatting changes (#7599)
1 parent 5d5ce8d commit 8aec14b

File tree

16 files changed

+22
-15
lines changed

16 files changed

+22
-15
lines changed

packages/colors/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
*/
1616

1717
export { Colors } from "./colors";
18+
// eslint-disable-next-line @typescript-eslint/no-deprecated
1819
export { LegacyColors } from "./legacyColors";

packages/core/karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ module.exports = async function (config) {
1919
"src/accessibility/*",
2020
"src/common/abstractComponent*",
2121
"src/common/abstractPureComponent*",
22-
"src/common/alignment.ts",
23-
"src/common/buttonVariant.ts",
22+
"src/common/alignment.ts",
23+
"src/common/buttonVariant.ts",
2424
"src/common/size.ts",
2525
"src/common/errors.ts",
2626
"src/components/html/html.tsx",

packages/core/src/common/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export { Boundary } from "./boundary";
2323
export { ButtonVariant } from "./buttonVariant";
2424
export { Elevation } from "./elevation";
2525
export { Intent } from "./intent";
26+
// eslint-disable-next-line @typescript-eslint/no-deprecated
2627
export { KeyCodes as Keys } from "./keyCodes";
2728
export { Position } from "./position";
2829
export {

packages/core/src/components/hotkeys/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export {
2323
HotkeysTarget,
2424
type HotkeysTargetProps,
2525
type HotkeysTargetRenderProps,
26+
// eslint-disable-next-line @typescript-eslint/no-deprecated
2627
HotkeysTarget2,
28+
// eslint-disable-next-line @typescript-eslint/no-deprecated
2729
type HotkeysTarget2Props,
30+
// eslint-disable-next-line @typescript-eslint/no-deprecated
2831
type HotkeysTarget2RenderProps,
2932
} from "./hotkeysTarget";

packages/core/src/components/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ export { NavbarGroup, type NavbarGroupProps } from "./navbar/navbarGroup";
7070
export { NavbarHeading, type NavbarHeadingProps } from "./navbar/navbarHeading";
7171
export { NonIdealState, type NonIdealStateProps, NonIdealStateIconSize } from "./non-ideal-state/nonIdealState";
7272
export { OverflowList, type OverflowListProps } from "./overflow-list/overflowList";
73+
// eslint-disable-next-line @typescript-eslint/no-deprecated
7374
export { Overlay } from "./overlay/overlay";
7475
export type { OverlayLifecycleProps, OverlayProps, OverlayableProps } from "./overlay/overlayProps";
7576
export { Overlay2, type Overlay2Props } from "./overlay2/overlay2";
7677
export type { OverlayInstance } from "./overlay2/overlayInstance";
7778
export { Text, type TextProps } from "./text/text";
79+
// eslint-disable-next-line @typescript-eslint/no-deprecated
7880
export { PanelStack, type PanelStackProps, PanelStack2, type PanelStack2Props } from "./panel-stack/panelStack";
7981
export type { Panel, PanelProps } from "./panel-stack/panelTypes";
8082
export { Popover } from "./popover/popover";
@@ -121,6 +123,7 @@ export { Tag, type TagProps } from "./tag/tag";
121123
export { TagInput, type TagInputProps, type TagInputAddMethod } from "./tag-input/tagInput";
122124
export { OverlayToaster, type OverlayToasterCreateOptions } from "./toast/overlayToaster";
123125
export type { OverlayToasterProps, ToasterPosition } from "./toast/overlayToasterProps";
126+
// eslint-disable-next-line @typescript-eslint/no-deprecated
124127
export { Toast, Toast2 } from "./toast/toast";
125128
export type { ToastProps } from "./toast/toastProps";
126129
export type { Toaster, ToastOptions } from "./toast/toaster";

packages/eslint-plugin/test/no-deprecated-components.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint-disable no-template-curly-in-string, sort-keys */
18-
1917
import { RuleTester } from "@typescript-eslint/rule-tester";
2018
import dedent from "dedent";
2119

packages/eslint-plugin/test/no-deprecated-core-components.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint-disable no-template-curly-in-string, sort-keys */
18-
1917
import { RuleTester } from "@typescript-eslint/rule-tester";
2018
import dedent from "dedent";
2119

packages/eslint-plugin/test/no-deprecated-popover2-components.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint-disable no-template-curly-in-string, sort-keys */
17+
/* eslint-disable sort-keys */
1818

1919
import { RuleTester } from "@typescript-eslint/rule-tester";
2020
import dedent from "dedent";

packages/eslint-plugin/test/no-deprecated-select-components.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint-disable no-template-curly-in-string, sort-keys */
17+
/* eslint-disable sort-keys */
1818

1919
import { RuleTester } from "@typescript-eslint/rule-tester";
2020
import dedent from "dedent";

packages/eslint-plugin/test/no-deprecated-table-components.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* eslint-disable no-template-curly-in-string, sort-keys */
17+
/* eslint-disable sort-keys */
1818

1919
import { RuleTester } from "@typescript-eslint/rule-tester";
2020
import dedent from "dedent";

0 commit comments

Comments
 (0)