mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Add support for jshint reports.
Integrated style-checker for javascript source code. refs #4098
This commit is contained in:
parent
3544af245f
commit
5118432b82
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…
x
Reference in New Issue
Block a user