We should switch our jslint tests to use npm-based jslint/jshint tool instead of java. Or eslint if it works.
It will also let us remove the dependency on default-jre-headless
which currently cases latest docker to hang with this:
Setting up ca-certificates-java (20130815ubuntu1) ...
Which is issue https://github.com/docker/docker/issues/18180
Diff:
Related
Tickets:
#8035db/8039
package.js
because local packages won't addeslint
to thePATH
allura.tests.functional.test_static:TestStatic.test_static_controller
is the only test that exercises JS validation by defaultAllura/test.ini
you can setvalidate_inlinejs
to true and then all functional tests will do more validation. There are many failures though.\u2716
. This is a limitation in nose, but for our Jenkins runs that use xunit xml files, the unicode will come through correctly there.[#8035] will need to modify
.eslintrc
and/or set up 2 different files. After that gets sorted out, we probably should make a ticket to enable JS validation by default and fix all the issues with .js files and inline script.Related
Tickets:
#8035As discussed: we should be able to use a local version of some dependencies through use of node_modules/.bin
Cleaned that up, as well as a broccoli global package :)
I added broccoli-timepiece to the locally installed node packages and merged.
Great job with this one :)