зеркало из https://github.com/mozilla/treeherder.git
Bug 1227682 - Enable the ESLint no-extra-semi rule & fix infringements
Disallows unnecessary semicolons http://eslint.org/docs/rules/no-extra-semi
This commit is contained in:
Родитель
651c5d90d0
Коммит
0a72e45a5b
|
@ -9,7 +9,6 @@
|
||||||
// Remove a line to enable the rule.
|
// Remove a line to enable the rule.
|
||||||
"comma-dangle": 0,
|
"comma-dangle": 0,
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
"no-extra-semi": 0,
|
|
||||||
"no-redeclare": 0,
|
"no-redeclare": 0,
|
||||||
"no-undef": 0,
|
"no-undef": 0,
|
||||||
"no-unused-vars": 0,
|
"no-unused-vars": 0,
|
||||||
|
|
|
@ -580,7 +580,7 @@ perf.controller('GraphsCtrl', [
|
||||||
// a hint on what the problem is
|
// a hint on what the problem is
|
||||||
alert("Error loading performance data\n\n" + error);
|
alert("Error loading performance data\n\n" + error);
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
$scope.removeSeries = function(projectName, signature) {
|
$scope.removeSeries = function(projectName, signature) {
|
||||||
var newSeriesList = [];
|
var newSeriesList = [];
|
||||||
|
|
|
@ -106,7 +106,7 @@ treeherder.factory('ThRepositoryModel', [
|
||||||
} else {
|
} else {
|
||||||
this.pushlogURL = this.url + "/pushloghtml";
|
this.pushlogURL = this.url + "/pushloghtml";
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
Repo.prototype = {
|
Repo.prototype = {
|
||||||
getRevisionHref: function(revision) {
|
getRevisionHref: function(revision) {
|
||||||
if (this.dvcs_type == 'git') {
|
if (this.dvcs_type == 'git') {
|
||||||
|
|
|
@ -284,7 +284,7 @@ treeherder.factory('ThResultSetStore', [
|
||||||
|
|
||||||
if (jobList.length === 0) {
|
if (jobList.length === 0) {
|
||||||
thNotify.send("No new jobs available");
|
thNotify.send("No new jobs available");
|
||||||
};
|
}
|
||||||
|
|
||||||
mapResultSetJobs(repoName, jobList);
|
mapResultSetJobs(repoName, jobList);
|
||||||
});
|
});
|
||||||
|
|
|
@ -16,7 +16,7 @@ treeherder.factory('PhSeries', ['$http', 'thServiceDomain', function($http, thSe
|
||||||
return signatureProps.suite + " " + testName;
|
return signatureProps.suite + " " + testName;
|
||||||
};
|
};
|
||||||
|
|
||||||
function _getSeriesOptions(signatureProps, optionCollectionMap) {
|
var _getSeriesOptions = function(signatureProps, optionCollectionMap) {
|
||||||
var options = [ optionCollectionMap[signatureProps.option_collection_hash] ];
|
var options = [ optionCollectionMap[signatureProps.option_collection_hash] ];
|
||||||
if (signatureProps.test_options) {
|
if (signatureProps.test_options) {
|
||||||
options = options.concat(signatureProps.test_options);
|
options = options.concat(signatureProps.test_options);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче