build: Use blacklist instead of whitelist for jshint/jscs/jsonlint
authorKunal Mehta <legoktm@gmail.com>
Fri, 10 Jul 2015 03:33:09 +0000 (20:33 -0700)
committerJforrester <jforrester@wikimedia.org>
Thu, 23 Jul 2015 20:56:31 +0000 (20:56 +0000)
commitface67cea4842d169ed60df9afcf6f8488dd8b60
treefa0eaf30e85a819168494e9273582b88d66717dd
parentbff168e6d90a3a080f2c88748095a336de0d5447
build: Use blacklist instead of whitelist for jshint/jscs/jsonlint

* jsonlint now includes docs/, includes/ (api and installer i18n),
  maintenance/, and tests/.
  539 files -> 864 files.
  - Continue to exclude JSDuck artefacts in docs/js/.
  - Continue to exclude vendor/.

* jshint now includes mw-config/ and maintenance/.
  177 files -> 179 files.

* jscs now includes everything jshint includes.
  172 files -> 179 files.
  - The -skip.js files no longer need excluding.

Use the native exclude syntax for jshint and jscs so that other
software and services with JSHint support use these as well.

Change-Id: Idebf30275f9c93483069367f923ed290c38e0b26
.jscsrc
.jshintignore
Gruntfile.js
maintenance/jsduck/external.js
tests/qunit/data/generateJqueryMsgData.php
tests/qunit/data/mediawiki.jqueryMsg.data.js