mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-09 08:34:04 -04:00
Add support for jshint reports.
Integrated style-checker for javascript source code. refs #4098
This commit is contained in:
parent
3544af245f
commit
5118432b82
3 changed files with 12 additions and 0 deletions
1
test/js/.jshintignore
Normal file
1
test/js/.jshintignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
../../library/vendor/**
|
||||
6
test/js/.jshintrc
Normal file
6
test/js/.jshintrc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* See http://www.jshint.com/docs/#usage on how to use this file */
|
||||
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
5
test/js/checkswag.sh
Executable file
5
test/js/checkswag.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
jshint --reporter=jslint "$@" ../.. > ../../build/log/jshint_results.xml
|
||||
|
||||
exit 0
|
||||
Loading…
Reference in a new issue