aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-06-07 00:58:12 +0200
committerGitHub <noreply@github.com>2021-06-07 00:58:12 +0200
commit70dae67b73dfea9126f126f516fe8286f1e73417 (patch)
treee61eafab41ee74330fecf1da2ce125050cfac49b /build/tasks
parenta12c98574d07f002fd59d166f9fc1fd391581b91 (diff)
downloadjquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.tar.gz
jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.zip
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393 Closes gh-1958
Diffstat (limited to 'build/tasks')
-rw-r--r--build/tasks/build.js4
-rw-r--r--build/tasks/testswarm.js8
2 files changed, 6 insertions, 6 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js
index 77ae2545d..48feb7aba 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -1,7 +1,7 @@
-module.exports = function( grunt ) {
-
"use strict";
+module.exports = function( grunt ) {
+
grunt.registerTask( "clean", function() {
require( "rimraf" ).sync( "dist" );
} );
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js
index deaa5cee7..ebc2c49ee 100644
--- a/build/tasks/testswarm.js
+++ b/build/tasks/testswarm.js
@@ -1,7 +1,7 @@
-module.exports = function( grunt ) {
-
"use strict";
+module.exports = function( grunt ) {
+
var versions = {
"git": "git",
"3.x-git": "3.x-git",
@@ -95,7 +95,7 @@ grunt.registerTask( "testswarm", function( commit, configFile, browserSets ) {
var test,
latestTests = {};
for ( test in tests ) {
- latestTests[ test ] = tests[ test ] + "?nojshint=true";
+ latestTests[ test ] = tests[ test ];
}
submit( commit, latestTests, configFile, browserSets, "", this.async() );
} );
@@ -104,7 +104,7 @@ grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, mino
var allTests = {};
versions[ minor ].split( " " ).forEach( function( version ) {
for ( var test in tests ) {
- allTests[ test + "-" + version ] = tests[ test ] + "?nojshint=true&jquery=" + version;
+ allTests[ test + "-" + version ] = tests[ test ] + "?jquery=" + version;
}
} );
submit( commit, allTests, configFile, browserSets, "core " + minor, this.async() );