Skip to content

← All questions

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

Asked 6,180 views2 answers

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?

asked by Gio Castellano521 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related