Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#3045·stylelint

Fix silent fail for UNC path files on Windows

Author: plakhinCreated Nov 30, 2017Updated Sep 9, 2026
Labelsstatus: wip

Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?

stylelint doesn't work with network file paths e.g. stylelint \\192.168.0.1\httpdocs\public\css\, local file paths e.g. stylelint c:\httpdocs\public\css\ work fine.

What CSS is needed to reproduce this issue?

any

What stylelint configuration is needed to reproduce this issue?

json
{
  "extends": "C:\\Users\\\\user\\AppData\\Roaming\\npm\\node_modules\\stylelint-config-recommended"
}

Which version of stylelint are you using?

8.3.1

How are you running stylelint: CLI, PostCSS plugin, Node API?

CLI with stylelint \\192.168.0.1\httpdocs\public\css\

Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?

No

What did you expect to happen?

The same as with local file.

What actually happened (e.g. what warnings or errors you are getting)?

No errors or warnings, no output at all, the same as if I run stylelint c:\httpdocs\public\css\nonexistent.css

Source: stylelint/stylelint

View original on GitHubView discussion on GitHub