Widened scope of CI eslint to all JavaScript files
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
var fs = require('fs');
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
var isWindows = (/^win/).test(process.platform);
|
var isWindows = (/^win/).test(process.platform);
|
||||||
|
|
||||||
@@ -56,7 +55,7 @@ module.exports = function(grunt) {
|
|||||||
options: {
|
options: {
|
||||||
configFile: '.eslintrc'
|
configFile: '.eslintrc'
|
||||||
},
|
},
|
||||||
target: ['<%= config.srcFolder %>/*.js']
|
target: ['<%= config.srcFolder %>/**/*.js', './Gruntfile.js']
|
||||||
},
|
},
|
||||||
|
|
||||||
includereplace: {
|
includereplace: {
|
||||||
|
@@ -98,7 +98,7 @@ describe('Random layout', function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function checkRandomLayout(i, node) {
|
function checkRandomLayout(i, node) {
|
||||||
it('should layout randomly #' + i + '.', function(node) {
|
it('should layout randomly #' + i + '.', function(node) {
|
||||||
if (JSON.stringify(computeLayout(node)) !== JSON.stringify(computeDOMLayout(node))) {
|
if (JSON.stringify(computeLayout(node)) !== JSON.stringify(computeDOMLayout(node))) {
|
||||||
node = reduceTest(node);
|
node = reduceTest(node);
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
var testLayout = layoutTestUtils.testLayout;
|
var testLayout = layoutTestUtils.testLayout;
|
||||||
var testLayoutAgainstDomOnly = layoutTestUtils.testLayoutAgainstDomOnly;
|
var testLayoutAgainstDomOnly = layoutTestUtils.testLayoutAgainstDomOnly;
|
||||||
var testFillNodes = layoutTestUtils.testFillNodes;
|
var testFillNodes = layoutTestUtils.testFillNodes;
|
||||||
var testExtractNodes = layoutTestUtils.testExtractNodes;
|
|
||||||
var text = layoutTestUtils.text;
|
var text = layoutTestUtils.text;
|
||||||
var texts = layoutTestUtils.texts;
|
var texts = layoutTestUtils.texts;
|
||||||
var textSizes = layoutTestUtils.textSizes;
|
var textSizes = layoutTestUtils.textSizes;
|
||||||
|
Reference in New Issue
Block a user