Skip to:
Content

BuddyPress.org

Changeset 9148


Ignore:
Timestamp:
11/16/2014 03:33:14 PM (10 years ago)
Author:
djpaul
Message:

Build: move list of ignored JS files from the Grunt configuration into the .jshintignore file.

The list of ignored JS files in the Grunt configuration was only used by the jshint task, so let's move these into the recently-introduced (r9146) jshint ignore file.

See #6015

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.jshintignore

    r9146 r9148  
    1 src/bp-forums/bbpress/**/*.js
     1// Deprecated
     2src/bp-forums/bbpress/**/*
     3src/bp-core/deprecated/js/**/*
     4
     5// 3rd party libraries
     6src/bp-core/js/jquery.atwho.js
     7src/bp-core/js/jquery.caret.js
     8src/bp-core/js/jquery-cookie.js
  • trunk/Gruntfile.js

    r9090 r9148  
    1818        BP_JS = [
    1919            '**/*.js'
    20         ],
    21 
    22         // JavaScript exclusions, for excluding from certain tasks e.g jshint
    23         BP_EXCLUDED_JS = [
    24             '!bp-core/deprecated/js/**/*.js', // Deprecated
    25             '!bp-core/js/jquery.atwho.js',    // External 3rd party library
    26             '!bp-core/js/jquery.caret.js',    // External 3rd party library
    27             '!bp-core/js/jquery-cookie.js'    // External 3rd party library
    2820        ];
    2921
     
    4133                expand: true,
    4234                cwd: SOURCE_DIR,
    43                 src: BP_JS.concat( BP_EXCLUDED_JS ),
     35                src: BP_JS,
    4436
    4537                /**
Note: See TracChangeset for help on using the changeset viewer.