eslint / config-inspector

A visual tool for inspecting and understanding your ESLint flat configs.
https://www.npmjs.com/package/@eslint/config-inspector
Apache License 2.0
730 stars 19 forks source link

fix: alignment hostname #61

Closed ycs77 closed 5 months ago

ycs77 commented 5 months ago

If the hostname is localhost / 127.0.0.1, the log print host name and opened hostname are different:

螢幕擷取畫面 2024-06-11 144025

So this PR alignment the print hostname with the opened hostname.

The opened hostname source:

https://github.com/eslint/config-inspector/blob/e7b655226c4d25bf623919b317bdc45a90eda6c4/src/cli.ts#L102-L106

linux-foundation-easycla[bot] commented 5 months ago

CLA Signed

The committers listed above are authorized under a signed CLA.