2016-09-19 22:36:58 +00:00
|
|
|
[debugging]
|
2016-09-20 21:59:20 +00:00
|
|
|
comment = Check to Ensure no debugger commands get checked in
|
2016-09-19 22:36:58 +00:00
|
|
|
output = Checking for debugger commands in Javascript...
|
2016-09-20 21:59:20 +00:00
|
|
|
command = grep -n debugger
|
|
|
|
files = .js
|
2016-09-19 22:36:58 +00:00
|
|
|
print = True
|
|
|
|
condition = output
|
|
|
|
|
|
|
|
[jshint]
|
|
|
|
output = Running Jshint...
|
2016-09-20 21:59:20 +00:00
|
|
|
command = jshint -c %(repdir)s/.git-lint/jshint.rc
|
|
|
|
match = .js
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[coffeelint]
|
|
|
|
output = Running Coffeelint...
|
2016-09-20 21:59:20 +00:00
|
|
|
command = coffeelint
|
|
|
|
match = .coffee
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[jscs]
|
|
|
|
output = Running JSCS...
|
2016-09-20 21:59:20 +00:00
|
|
|
command = jscs -c %(repdir)s/.git-lint/jscs.rc
|
|
|
|
match = .js
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[pep8]
|
2016-09-20 21:59:20 +00:00
|
|
|
comment = PEP8 with some white space and line length checking turned off
|
2016-09-19 22:36:58 +00:00
|
|
|
output = Running pep8...
|
2016-09-20 21:59:20 +00:00
|
|
|
command = pep8 -r --ignore=E501,W293,W391
|
|
|
|
match = .py
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[xmllint]
|
|
|
|
output = Running xmllint...
|
2016-09-20 21:59:20 +00:00
|
|
|
command = xmllint
|
|
|
|
match = .xml
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[csslint]
|
2016-09-20 21:59:20 +00:00
|
|
|
output = Running csslint...
|
|
|
|
command = csslint --quiet
|
|
|
|
match = .js
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[eslint]
|
2016-09-20 21:59:20 +00:00
|
|
|
output = Running eslint...
|
|
|
|
command = eslint
|
|
|
|
match = .js
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|
|
|
|
[jsonlint]
|
2016-09-20 21:59:20 +00:00
|
|
|
output = Running jsonlint...
|
|
|
|
command = jsonlint -q
|
|
|
|
match = .json
|
2016-09-19 22:36:58 +00:00
|
|
|
print = False
|
|
|
|
condition = error
|
|
|
|
|