| { | |
| "root": true, | |
| "extends": "../.eslintrc-browser.json", | |
| "rules": { | |
| "indent": [ "error", "tab", { | |
| "outerIIFEBody": 0, | |
| // Ignore the top level function defining an AMD module | |
| "ignoredNodes": [ | |
| "Program > ExpressionStatement > CallExpression > :last-child > *" | |
| ] | |
| } ] | |
| }, | |
| "overrides": [ | |
| { | |
| "files": "wrapper.js", | |
| "rules": { | |
| "no-unused-vars": "off", | |
| "indent": [ "error", "tab", { | |
| // Unlike other codes, "wrapper.js" is implemented in UMD. | |
| // So it required a specific exception for jQuery's UMD | |
| // Code Style. This makes that indentation check is not | |
| // performed for 1 depth of outer FunctionExpressions | |
| "ignoredNodes": [ | |
| "Program > ExpressionStatement > CallExpression > :last-child > *" | |
| ] | |
| } ] | |
| }, | |
| "globals": { | |
| "jQuery": false | |
| } | |
| } | |
| ] | |
| } |