diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-08-01 16:04:19 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-08-31 12:20:23 +0200 |
commit | 2948a99b6e51c42039025b049d8f92e92b1b7d2c (patch) | |
tree | 1c3bb3d7a763d71db1abaec6a14a219735879c7e /.dir-locals.el | |
parent | 1e942435be5f8dbf30be7296466ca674b69b7c70 (diff) | |
download | searxng-2948a99b6e51c42039025b049d8f92e92b1b7d2c.tar.gz searxng-2948a99b6e51c42039025b049d8f92e92b1b7d2c.zip |
[mod] simple theme - add ESLint
[1] https://eslint.org/
[2] https://eslint.org/docs/user-guide/configuring/
[3] https://eslint.org/docs/user-guide/command-line-interface
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 92ff6788b..b8f7ecc76 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -91,9 +91,9 @@ (js-mode . ((eval . (progn (setq-local js-indent-level 2) - ;; flycheck should use the jshint checker from simple theme - (setq-local flycheck-javascript-jshint-executable - (expand-file-name "searx/static/themes/simple/node_modules/.bin/jshint" prj-root)) + ;; flycheck should use the eslint checker from simple theme + (setq-local flycheck-javascript-eslint-executable + (expand-file-name "searx/static/themes/simple/node_modules/.bin/eslint" prj-root)) (flycheck-mode) )))) |