summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-08-31 13:24:06 +0200
committerGitHub <noreply@github.com>2021-08-31 13:24:06 +0200
commit66a27757fd8a8187c89a696f9af1d4ff913d4657 (patch)
treebdf32bede36a3b34b0ad6d00dd4d0415776ba07a /.dir-locals.el
parente44f4dc4b341105d7e7b23173966bcc6fd76d747 (diff)
parent0ee316f3d1561853ceb26fc3cf4ec673f575168d (diff)
Merge pull request #244 from return42/eslint-simple-client
[mod] simple theme - add ESLint
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
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)
))))