diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2025-03-03 20:15:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 20:15:14 +0100 |
commit | 1da395de2e6759dfe9a7a199b03a39365e30f16c (patch) | |
tree | b597281911de6cde1682932ca9c242c0f8b5841d /Gruntfile.js | |
parent | 302b488b9214e14830496578f7cf0aebcc33c132 (diff) | |
download | jquery-ui-1da395de2e6759dfe9a7a199b03a39365e30f16c.tar.gz jquery-ui-1da395de2e6759dfe9a7a199b03a39365e30f16c.zip |
Build: Update ESLint to v9, migrate to flat config, lint dist files
Dist files linting is limited to checking if they're proper ES5.
Closes gh-2336
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index cc532b6e9..bbb71d33e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -204,9 +204,12 @@ grunt.initConfig( { "ui/**/*.js", "!ui/vendor/**/*.js", "Gruntfile.js", + "dist/jquery-ui.js", + "dist/jquery-ui.min.js", "build/**/*.js", "tests/unit/**/*.js", "tests/lib/**/*.js", + "!tests/lib/vendor/**/*.js", "demos/**/*.js" ] }, @@ -401,7 +404,7 @@ grunt.registerTask( "lint", [ "htmllint" ] ); grunt.registerTask( "build", [ "requirejs", "concat", "minify:main" ] ); -grunt.registerTask( "default", [ "lint", "build" ] ); +grunt.registerTask( "default", [ "build", "lint" ] ); grunt.registerTask( "sizer", [ "requirejs:js", "minify:main", "compare_size:all" ] ); grunt.registerTask( "sizer_all", [ "requirejs:js", "minify", "compare_size" ] ); |