Define is not defined (ESLint) : <p>I keep getting an ESLint error <code>'define' is not defined. (no-undef)</code>. I believe, I could just define <code>define</code> globally, but shouldn't this be supported natively? </p>

<p>A code example using define:</p>

<pre><code>define([], function () { // Error here!
    'use strict';
    ....
</code></pre>

<p>This is my eslintrc.json:</p>

<pre><code>{
    "env": {
        "shared-node-browser": true,
        "commonjs": true
    },
    "plugins": ["requirejs"],
    "extends": ["eslint:recommended"],
    "rules": {
        "indent": [
            "error",
            "tab"
        ],
        "linebreak-style": [
            "error",
            "windows"
        ],
        "quotes": [
            "error",
            "single"
        ],
        "semi": [
            "error",
            "always"
        ],
        "requirejs/no-invalid-define": 2,
        "requirejs/no-multiple-define": 2,
        "requirejs/no-named-define": 2,
        "requirejs/no-commonjs-wrapper": 2,
        "requirejs/no-object-define": 1
    }
}
</code></pre>
