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

Changing lint levels for different Dataverse versions #24

Open
HenningTimm opened this issue Dec 18, 2024 · 0 comments
Open

Changing lint levels for different Dataverse versions #24

HenningTimm opened this issue Dec 18, 2024 · 0 comments

Comments

@HenningTimm
Copy link
Owner

Rule e004 (trailing whitespaces) was dangerous in Dataverse <=6.4, but is fixed through a change in Dataverse now (cf. #23 , IQSS/dataverse#10688).

Currently, this software has no nice way to accord for this. By default, e004 will become a warning, however there is no way to increase a lint level via parameters. Some possible solutions are:

  1. Add a --fail or --error that behaves similarly to --warn and --skip. This should be implemented either way.
  2. Add a config file that defines default behaviors for the current Dataverse version and other profiles for different versions.
  3. Add a parameter to specify a Dataverse version and select a predefined set of parameters accordingly.

I tend towards solutions 1. and 2., since keeping 3. up-to-date would break the scope of this project.

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

No branches or pull requests

1 participant