mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[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>
This commit is contained in:
parent
1e942435be
commit
2948a99b6e
5 changed files with 33 additions and 3 deletions
2
manage
2
manage
|
|
@ -665,6 +665,8 @@ themes.oscar() {
|
|||
themes.simple() {
|
||||
build_msg GRUNT "theme: simple"
|
||||
npm --prefix searx/static/themes/simple run build
|
||||
# just report eslint issues but do not break the build (--force)
|
||||
npm --prefix searx/static/themes/simple run eslint --force
|
||||
dump_return $?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue