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

Add support for library search paths, external variables to jsonnet #1932

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

runejuhl
Copy link

This PR adds two new options to the jsonnet checker, one for setting library search paths and one for setting external code files.

I was unable to get the integration tests to run (described in https://www.flycheck.org/en/latest/contributor/contributing.html), but have tested the changes locally.

@CLAassistant
Copy link

CLAassistant commented Jan 28, 2022

CLA assistant check
All committers have signed the CLA.

"A list of directories to use as jsonnet library search paths."
:type '(repeat (directory :tag "Library search path"))
:safe #'flycheck-string-list-p
:package-version '(flycheck . "32"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should say 34.

assigned to the variable `var'."
:type '(repeat (directory :tag "var=file"))
:safe #'flycheck-string-list-p
:package-version '(flycheck . "32"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

@bbatsov
Copy link
Contributor

bbatsov commented Feb 4, 2024

I'm fine with the change, but before we can merge this we need also the following:

  • rebase on top of master
  • a changelog entry
  • to mention the new config options in the checker's documentation. (see the section about RuboCop as an example)

@bbatsov
Copy link
Contributor

bbatsov commented Feb 24, 2024

@runejuhl Ping :-)

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.

None yet

3 participants