Change-Id: I3fb88324ba5a46e44041c13eb6447c8e33f4e79b
grunt.initConfig( {
eslint: {
+ options: {
+ reportUnusedDisableDirectives: true
+ },
all: [
'**/*.js',
'!docs/**',
subsetNames = [];
- filter.subset.forEach( function ( subsetFilterName ) { // eslint-disable-line no-loop-func
+ filter.subset.forEach( function ( subsetFilterName ) {
// Subsets (unlike conflicts) are always inside the same group
// We can re-map the names of the filters we are getting from
// the subsets with the group prefix
* @param {string} [data.module] Name of module which caused the error
*/
function logError( topic, data ) {
- /* eslint-disable no-console */
var msg,
e = data.exception,
source = data.source,
console.warn( e );
}
}
- /* eslint-enable no-console */
}
/**