Closed kna closed 4 weeks ago
@kna Yes this is very true, we should add this capability to the linter.
Good catch 👌
/assign-me
👋 Hey @thomaspoignant, thanks for your interest in this issue! 🎉
⚠ Note that this issue will become unassigned if it isn't closed within 10 days.
🔧 A maintainer can also add the 📌 Pinned label to prevent it from being unassigned automatically.
@kna thanks again for this issue. I have open the PR #2563 to address this, feel free to review it, we will merge it for the next version of GO Feature Flag.
@thomaspoignant Thank you for your quick responce and creating the PR!
Requirements
A flag file might contain undefined variants due to a mistake. I think it is better for the linter to report it as an error.
Example
The following flag file is incorrect because it uses an undefined variation(
NOT_IN_VARIATIONS
).But the linter does not report an error.