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

Distinguish errors and warnings #20

Open
Robsteranium opened this issue Nov 2, 2021 · 1 comment
Open

Distinguish errors and warnings #20

Robsteranium opened this issue Nov 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Robsteranium
Copy link

Errors should be raised for things that PMD can't handle e.g. impossible of inconsistent situations.

Warnings should be raised for things that can be ignored, but where doing so will mean some features aren't available.

We could include a :level key alongside each test in a suite. This could default to :error (meaning we'd only need to change the suites to downgrade :warning tests).

We may want to make the rdf-validator aware of :level so it could report on them differently.

@Robsteranium
Copy link
Author

Robsteranium commented Nov 16, 2021

Candidates for warnings:

  • AllAttributesAndDimensionsMustHaveCodeList
  • ConceptMaxOneLabelIfNoPrefLabel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant