diff --git a/.eslintrc b/.eslintrc index 6f024b37c..66b2119b3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,7 +9,6 @@ // Remove a line to enable the rule. "comma-dangle": 0, "no-console": 0, - "no-extra-semi": 0, "no-redeclare": 0, "no-undef": 0, "no-unused-vars": 0, diff --git a/ui/js/controllers/perf/graphs.js b/ui/js/controllers/perf/graphs.js index b59efdf88..8199ef470 100644 --- a/ui/js/controllers/perf/graphs.js +++ b/ui/js/controllers/perf/graphs.js @@ -580,7 +580,7 @@ perf.controller('GraphsCtrl', [ // a hint on what the problem is alert("Error loading performance data\n\n" + error); }); - }; + } $scope.removeSeries = function(projectName, signature) { var newSeriesList = []; diff --git a/ui/js/models/repository.js b/ui/js/models/repository.js index 0a2e4f4f9..181c21a2c 100644 --- a/ui/js/models/repository.js +++ b/ui/js/models/repository.js @@ -106,7 +106,7 @@ treeherder.factory('ThRepositoryModel', [ } else { this.pushlogURL = this.url + "/pushloghtml"; } - }; + } Repo.prototype = { getRevisionHref: function(revision) { if (this.dvcs_type == 'git') { diff --git a/ui/js/models/resultsets_store.js b/ui/js/models/resultsets_store.js index 110428022..5ad16ea96 100644 --- a/ui/js/models/resultsets_store.js +++ b/ui/js/models/resultsets_store.js @@ -284,7 +284,7 @@ treeherder.factory('ThResultSetStore', [ if (jobList.length === 0) { thNotify.send("No new jobs available"); - }; + } mapResultSetJobs(repoName, jobList); }); diff --git a/ui/js/perf.js b/ui/js/perf.js index ed255b2b7..553e02b2b 100644 --- a/ui/js/perf.js +++ b/ui/js/perf.js @@ -16,7 +16,7 @@ treeherder.factory('PhSeries', ['$http', 'thServiceDomain', function($http, thSe return signatureProps.suite + " " + testName; }; - function _getSeriesOptions(signatureProps, optionCollectionMap) { + var _getSeriesOptions = function(signatureProps, optionCollectionMap) { var options = [ optionCollectionMap[signatureProps.option_collection_hash] ]; if (signatureProps.test_options) { options = options.concat(signatureProps.test_options);