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

Remove duplicate linting rule #261

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

ee7
Copy link
Member

@ee7 ee7 commented Sep 12, 2021

This was a duplicate of a previous rule:

  • The "exercises.concept[].concepts" values must match the "concepts.slug" property of one of the concepts

Pinging @ErikSchierboom for review: This was a duplicate, right?

Is the intention that we also check the other way around? That is, should configlet lint complain if a concepts.slugvalue does not exist in any exercises.concept[].concepts array?

This was a duplicate of a previous rule:

- The `"exercises.concept[].concepts"` values must match the
  `"concepts.slug"` property of one of the concepts
@ErikSchierboom
Copy link
Member

Is the intention that we also check the other way around? That is, should configlet lint complain if a concepts.slug value does not exist in any exercises.concept[].concepts array?

I don't think it should error, but I could definitely see it being a warning.

@ErikSchierboom
Copy link
Member

Want me to merge or do you want to do something with my above comment?

@ee7
Copy link
Member Author

ee7 commented Sep 14, 2021

Please merge - let's follow-up later.

I've opened #265 to track.

Feel free to PR it yourself, if you want. We'll have to decide how to talk about "warnings", since there currently aren't any in the spec.

@ErikSchierboom ErikSchierboom merged commit f2667ea into exercism:main Sep 14, 2021
@ErikSchierboom
Copy link
Member

Thanks

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 this pull request may close these issues.

2 participants