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

LSP-ESLint: add new fields to lsp-eslint--configuration #4092

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions clients/lsp-eslint.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@
http://eslint.org/docs/developer-guide/nodejs-api#cliengine)."
:type 'alist)

(defcustom lsp-eslint-experimental nil
"The eslint experimental configuration."
:type 'alist)

(defcustom lsp-eslint-config-problems nil
"The eslint problems configuration."
:type 'alist)

(defcustom lsp-eslint-time-budget nil
"The eslint config to inform you of slow validation times and
long ESLint runs when computing code fixes during save."
:type 'alist)

(defcustom lsp-eslint-trace-server "off"
"Traces the communication between VSCode and the eslint linter service."
:type 'string)
Expand Down Expand Up @@ -282,6 +295,9 @@ stored."
:quiet (lsp-json-bool lsp-eslint-quiet)
:onIgnoredFiles (if lsp-eslint-warn-on-ignored-files "warn" "off")
:options (or lsp-eslint-options (ht))
:experimental (or lsp-eslint-experimental (ht))
:problems (or lsp-eslint-config-problems (ht))
:timeBudget (or lsp-eslint-time-budget (ht))
:rulesCustomizations lsp-eslint-rules-customizations
:run lsp-eslint-run
:nodePath lsp-eslint-node-path
Expand Down
Loading