Hogan and STATIC_URL are only use in a few files. Hence, we do not really
need them enabled globally. Removing them from jshint global config.
Change-Id: I0881ab0e6668a47bf795e422e17f9f025a010d31
Closes-bug: #1452464
Adding detection for unused variables for general code cleanup.
Adding detection for using undefined variables for spotting
leaking and mistyped variables.
Also cleaned remaining files.
Change-Id: I5cc4e3168c0836a56e7799f589e384241168354f
Closes-bug: #1438620
Since we are cleaning up legacy, we need to add additional globals to jshint.
These globals include some 3rd party libraries like Hogan and Qunit.
Change-Id: I4165b7b4f669ca8f5bd7136ba0e2f58f526d7f4c
Partial-bug: #1438620
- Including JS files under horizon/static/angular/ folder.
- Adding .jshintrc to allow globals defined by jQuery, Angular,
Angular mock, Jasmine, d3 and jsi18n.
- Allowing global strict mode in spec files.
Change-Id: I07359a4b3044cd5f675eef3b7df99398df909f81
Closes-Bug: #1419625