Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint:css ignores css files on a deeper hierarchy #58

Open
michelmueller opened this issue Feb 13, 2025 · 0 comments · May be fixed by #59
Open

lint:css ignores css files on a deeper hierarchy #58

michelmueller opened this issue Feb 13, 2025 · 0 comments · May be fixed by #59

Comments

@michelmueller
Copy link

michelmueller commented Feb 13, 2025

How to reproduce:

  1. create a css file on a deeper hierarchy (e.g. blocks/cards/test/test.css)
  2. leave it empty (=> error no-empty-source)
  3. npm run lint:css

Actual behavior

Powershell is correct ✅

npm run lint:css

> @adobe/[email protected] lint:css
> stylelint blocks/**/*.css styles/*.css


blocks/cards/test/test.css
  1:1  ✖  Unexpected empty source  no-empty-source

✖ 1 problem (1 error, 0 warnings)

Ubuntu WSL ❌

$ npm run lint:css

> @adobe/[email protected] lint:css
> stylelint blocks/**/*.css styles/*.css


The error is ignored as the file is not scanned.

Expected behavior

I would expect that the error is also visible on the Ubuntu WSL. (haven't checked but pretty sure our CI system has the issue as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant