{ "parserOptions": { "ecmaVersion": 6, "sourceType": "script" }, "rules": { "indent": [ "warn", 2, { "SwitchCase": 1 } ], "no-undef": "warn", "no-redeclare": "warn", "no-var": "warn", "no-unused-vars":"off" // we define stuff to use in other scripts }, "env": { "browser": true, "node": true }, "extends": "eslint:recommended", "globals": { "btoa": "writable", "Espruino": "writable", "htmlElement": "readonly", "Puck": "readonly", "escapeHtml": "readonly", "htmlToArray": "readonly", "heatshrink": "readonly", "Puck": "readonly", "Promise": "readonly", "Comms": "readonly", "Progress": "readonly", "showToast": "readonly", "showPrompt": "readonly", "httpGet": "readonly", "getVersionInfo": "readonly", "AppInfo": "readonly", "marked": "readonly", "appSorter": "readonly", "Uint8Array" : "readonly", "SETTINGS" : "readonly", "globToRegex" : "readonly", "toJS" : "readonly" } }