Skip to content

← All questions

Warning: "Feature is not under a declared module directory" — but the file runs fine

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

I put a new file at features/smoke-checks.feature, straight under features/. It runs, it passes, but every lint gives me:

text
⚠ features/smoke-checks.feature:1  module/unassigned  Feature is not under a declared module directory (features/auth, features/inventory, features/cart, features/api, features/hybrid).
1 feature file(s), 0 error(s), 1 warning(s)

It is only a warning so nothing is blocked, but it is noise on every run. Is the fix to add a module, or to move the file?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related