We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7130ffb commit c0a7316Copy full SHA for c0a7316
lsp-eslint.el
@@ -50,7 +50,10 @@
50
51
(defcustom lsp-eslint-package-manager "npm"
52
"The package manager you use to install node modules."
53
- :type '(choice (:tag "npm" "yarn" "pnpm"))
+ :type '(choice (const :tag "npm" "npm")
54
+ (const :tag "yarn" "yarn")
55
+ (const :tag "pnpm" "pnpm")
56
+ (string :tag "other"))
57
:package-version '(lsp-mode . "6.3"))
58
59
(defcustom lsp-eslint-format t
@@ -75,7 +78,8 @@
75
78
76
79
(defcustom lsp-eslint-run "onType"
77
80
"Run the linter on save (onSave) or on type (onType)"
- :type '(choice (:tag "onSave" "onType"))
81
+ :type '(choice (const :tag "onSave" "onSave")
82
+ (const :tag "onType" "onType"))
83
84
85
(defcustom lsp-eslint-auto-fix-on-save nil
0 commit comments