Submission fails due to CSS lint checks

Hi all,

I have upgraded the cli and made a new submission and I get the following error:

using npx stylelint . gives me this error:

ConfigurationError: No configuration provided for E:\<my-mini-name>\AGENTS.md
    at getConfigForFile (file:///E:/<my-mini-name>/node_modules/stylelint/lib/getConfigForFile.mjs:76:9)
    at async isPathIgnored (file:///E:/<my-mini-name>/node_modules/stylelint/lib/isPathIgnored.mjs:23:17)
    at async lintSource (file:///E:/<my-mini-name>/node_modules/stylelint/lib/lintSource.mjs:43:20)
    at async file:///E:/<my-mini-name>/node_modules/stylelint/lib/standalone.mjs:250:27
    at async Promise.all (index 0)
    at async standalone (file:///E:/<my-mini-name>/node_modules/stylelint/lib/standalone.mjs:295:22)

any idea how to fix/ignore that?

I’ve also tried to make stylelint.config.js and ignore all rules and still get the same error above.

result of npx shop-minis doctor --verbose

Windows 11

I am getting the same issue with the latest CLI version. @Tunca-Shopify I have tried deleting the cache folder but same issue.

1 Like

We are having the same problem.

1 Like

We have same problem when try to submit app

I can run `yarn stylelint src/**/*.css` but shopify check yarn stylelint ‘src/**/*.css’

I fixed this issue.
Steps:

  1. Run yarn add -D stylelint-config-standard
  2. Run yarn stylelint src/**/*.css
  3. Run npx shop-minis submit --skip-lint-check

2 Likes

Hi! There was an issue on our end, please run the upgrade command and v0.0220 of the CLI should work fine. Please keep us posted otherwise.

it works now, thanks!

I also faced this issue. For future reference, the fix was using stylelint suggested was using url(…) in style imports, like this:

import url(“ @shopify/shop-minis-react/styles”);