Due to how RequireJS' lookup algorithm works, only one module should be defined per file.
This rule aims to prevent definition of multiple modules in one file.
The following pattern is considered a warning:
// MyModule.js
define('MyModule/first', ['path/to/foo'], function (foo) {
/* ... */
});
define('MyModule/second', ['path/to/bar'], function (bar) {
/* ... */
});
You should probably not disable this rule.