MDL-52127 js: check YUI modules with eslint
authorDan Poltawski <dan@moodle.com>
Wed, 11 May 2016 10:38:46 +0000 (11:38 +0100)
committerDan Poltawski <dan@moodle.com>
Sat, 11 Jun 2016 09:14:35 +0000 (10:14 +0100)
commita1587268cba24afce039ab1cd3b482d2d8639805
treea16c5717c35706552093fd525cb1e1cb1266a647
parent3adb62b72785c6aa65106f6a93c2e32de55e3450
MDL-52127 js: check YUI modules with eslint

Because we don't have the entire YUI rollup, we can't apply some of the
rules safely, so we ignore some rules.

At this point I am not 100% certain this configuration is robust enough,
to deal with the lack fo rollup knowledge although its a good sign that
there are no errors on our entire yui codebase.
13 files changed:
.eslintignore
Gruntfile.js
lib/yui/build/moodle-core-notification-ajaxexception/moodle-core-notification-ajaxexception-debug.js
lib/yui/build/moodle-core-notification-ajaxexception/moodle-core-notification-ajaxexception.js
lib/yui/build/moodle-core-notification-alert/moodle-core-notification-alert-debug.js
lib/yui/build/moodle-core-notification-alert/moodle-core-notification-alert.js
lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm-debug.js
lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm.js
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-debug.js
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue.js
lib/yui/build/moodle-core-notification-exception/moodle-core-notification-exception-debug.js
lib/yui/build/moodle-core-notification-exception/moodle-core-notification-exception.js
lib/yui/src/notification/js/shared.js