finos / openfin-react-hooks

A collection of React Hooks built on top of the Openfin API - from Scott Logic
Apache License 2.0
48 stars 18 forks source link

Fix issue with lint task not linting index.d.ts file on mac #6

Closed oriondean closed 5 years ago

oriondean commented 5 years ago

Due to lint task using forward slash file paths e.g. */.ts

rchick commented 5 years ago

resolving with {*,.}/.ts

see below

admin@Admins-MacBook-Pro openfin-react-hooks (master) $ ls  **/*.ts
src/ScreenEdge.ts           src/useDockWindow.ts            src/useMaximized.ts
src/index.ts                src/useDocked.ts            src/useOptions.ts
src/useBounds.ts            src/useFocus.ts             src/useUserMovement.ts
src/useChannelClient.ts         src/useInterApplicationBusPublish.ts    src/useZoom.ts
src/useChannelProvider.ts       src/useInterApplicationBusSend.ts
src/useDockWindow.transitions.ts    src/useInterApplicationBusSubscribe.ts
admin@Admins-MacBook-Pro openfin-react-hooks (master) $ ls  {**,.}/*.ts
./index.d.ts                src/useDockWindow.transitions.ts    src/useInterApplicationBusSubscribe.ts
src/ScreenEdge.ts           src/useDockWindow.ts            src/useMaximized.ts
src/index.ts                src/useDocked.ts            src/useOptions.ts
src/useBounds.ts            src/useFocus.ts             src/useUserMovement.ts
src/useChannelClient.ts         src/useInterApplicationBusPublish.ts    src/useZoom.ts
src/useChannelProvider.ts       src/useInterApplicationBusSend.ts
admin@Admins-MacBook-Pro openfin-react-hooks (master) $