Skip to content

Commit

Permalink
add new fields to lsp-eslint--configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
NdYAG committed Jul 7, 2023
1 parent eb224a4 commit 62e5d82
Showing 1 changed file with 16 additions and 0 deletions.
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

0 comments on commit 62e5d82

Please sign in to comment.