AriPerkkio / eslint-remote-tester

CLI tool for testing given ESlint rules against multiple repositories at once.
https://www.npmjs.com/package/eslint-remote-tester
129 stars 10 forks source link

fix: fix config load on Windows #538

Closed fisker closed 4 months ago

fisker commented 4 months ago

On Windows, import('E:\\\\path\\to\\config') throws

Uncaught:
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:'
pkg-pr-new[bot] commented 4 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

commit: 5b3cb1b

eslint-remote-tester

``` npm i https://pkg.pr.new/eslint-remote-tester@538 ```

eslint-remote-tester-repositories

``` npm i https://pkg.pr.new/eslint-remote-tester-repositories@538 ```


templates

- [default](https://pkg.pr.new/template/1780847e-5425-48c2-94ed-e6373bc0c959)