Refactor: Convert CommonJS to ECMAScript Modules (ESM) #3601
Annotations
10 warnings
Run npm run lint:
packages/notification/channel/instatus/index.ts#L143
Caution: `axios` also has a named export `AxiosError`. Check if you meant to write `import {AxiosError} from 'axios'` instead
|
Run npm run lint:
packages/notification/channel/instatus/index.ts#L143
Caution: `axios` also has a named export `AxiosError`. Check if you meant to write `import {AxiosError} from 'axios'` instead
|
Run npm run lint:
packages/notification/channel/instatus/index.ts#L196
Caution: `axios` also has a named export `AxiosError`. Check if you meant to write `import {AxiosError} from 'axios'` instead
|
Run npm run lint:
packages/notification/channel/instatus/index.ts#L196
Caution: `axios` also has a named export `AxiosError`. Check if you meant to write `import {AxiosError} from 'axios'` instead
|
Run npm run lint:
packages/notification/channel/mailgun.ts#L59
Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'
|
Run npm run lint:
src/components/logger/history.ts#L37
Caution: `SQLite3` also has a named export `verbose`. Check if you meant to write `import {verbose} from 'sqlite3'` instead
|
Run npm run lint:
src/components/notification/schedule-notification.ts#L8
Caution: `cron` also has a named export `schedule`. Check if you meant to write `import {schedule} from 'node-cron'` instead
|
Run npm run lint:
src/components/probe/index.test.ts#L42
Caution: `pg` also has a named export `Pool`. Check if you meant to write `import {Pool} from 'pg'` instead
|
Run npm run lint:
src/components/probe/index.test.ts#L57
Unexpected any. Specify a different type
|
Run npm run lint:
src/components/probe/prober/http/index.test.ts#L54
Unexpected any. Specify a different type
|
Loading