diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-24 12:12:13 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-24 13:27:21 +0200 |
commit | a3f58a3a3d099cf6c5dfd533f76d97623146e079 (patch) | |
tree | c9cff6b6376def4849810299984b3796c88794b2 /searx/static/themes/simple/.jshintrc | |
parent | f73a00dceecc56a101a00d854eebb8fe60c45e4c (diff) | |
download | searxng-a3f58a3a3d099cf6c5dfd533f76d97623146e079.tar.gz searxng-a3f58a3a3d099cf6c5dfd533f76d97623146e079.zip |
[emacs] .dir-locals.el: add setup for js-mode
- move jshint option from gruntfile to .jshintrc
- remove trailing-whitespace from gruntfile and
- add jshint esversion: 6
- .dir-locals.el add locals for js-mode to use JSHint from the simple theme
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/.jshintrc')
-rw-r--r-- | searx/static/themes/simple/.jshintrc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/static/themes/simple/.jshintrc b/searx/static/themes/simple/.jshintrc new file mode 100644 index 000000000..ba7bc2965 --- /dev/null +++ b/searx/static/themes/simple/.jshintrc @@ -0,0 +1,8 @@ +{ + "proto": true, + "globals": { + "browser": true, + "jQuery": false, + "devel": true + } +} |