mirror of
https://github.com/beefproject/beef
synced 2026-06-08 13:15:56 +00:00
47 lines
866 B
JSON
47 lines
866 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": false
|
|
},
|
|
"extends": ["eslint:recommended"],
|
|
|
|
"parserOptions": {
|
|
"ecmaVersion": 5,
|
|
"sourceType": "script"
|
|
},
|
|
|
|
"ignorePatterns": [
|
|
"core/main/client/lib/**",
|
|
"modules/**"
|
|
],
|
|
|
|
"rules": {
|
|
/* Keep this minimal at first. Add project-specific rules after seeing CI logs. */
|
|
},
|
|
|
|
"globals": {
|
|
// beef
|
|
"beef": "readonly",
|
|
|
|
// jQuery / alias
|
|
"$": "readonly",
|
|
"jQuery": "readonly",
|
|
"$j": "readonly",
|
|
|
|
// BeEF bootstrapping
|
|
"beef_init": "readonly",
|
|
|
|
// Existing libraries
|
|
"MobileEsp": "readonly",
|
|
"evercookie": "readonly",
|
|
"swfobject": "readonly",
|
|
|
|
// Browser-specific globals (old IE / old Firefox)
|
|
"XDomainRequest": "readonly",
|
|
"MozWebSocket": "readonly",
|
|
"clipboardData": "readonly",
|
|
|
|
// Debug
|
|
"isDebug": "readonly"
|
|
}
|
|
} |