b324cd3b6b
Both jshint and jslint contain the 'do no evil' license which makes it unusable for OpenStack. This patch switches this project to use eslint, the published eslint-config-openstack rules, and the john-papa eslint style guides. It also adds the 'npm run lint' command used by infra in the javascript-jobs macro. Change-Id: I724d3a12fb5b9c85446adcd07c03a676e966bd41
10 lines
220 B
JavaScript
10 lines
220 B
JavaScript
'use strict';
|
|
|
|
var fs = require('fs');
|
|
var onlyScripts = require('./util/scriptFilter');
|
|
var tasks = fs.readdirSync('./gulp/tasks/').filter(onlyScripts);
|
|
|
|
tasks.forEach(function(task) {
|
|
require('./tasks/' + task);
|
|
});
|