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 230608a commit 9c1dfd8Copy full SHA for 9c1dfd8
clients/lsp-eslint.el
@@ -264,7 +264,7 @@ stored."
264
(-filter (lambda (dir)
265
(-none?
266
(lambda (file) (f-exists? (f-join dir file)))
267
- '(".eslintrc.js" ".eslintrc.yaml" ".eslintrc.yml" ".eslintrc" ".eslintrc.json")))))
+ '(".eslintrc.js" ".eslintrc.cjs" ".eslintrc.yaml" ".eslintrc.yml" ".eslintrc" ".eslintrc.json")))))
268
(`nil (user-error "All workspace folders contain ESLint configuration"))
269
(folders (let ((default-directory (completing-read "Select project folder: " folders nil t)))
270
(async-shell-command (format "%s --init" (lsp--find-eslint)))))))
0 commit comments