diff --git a/.eslintrc.json b/.eslintrc.json index 25d13477..4285bbc7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,7 +19,8 @@ "no-cond-assign": "off", "no-useless-escape": "off", "one-var": "off", - "no-control-regex": "off" + "no-control-regex": "off", + "no-prototype-builtins": "off" }, "env": { "node": true, diff --git a/docs/demo/demo.js b/docs/demo/demo.js index fafb336f..05649583 100644 --- a/docs/demo/demo.js +++ b/docs/demo/demo.js @@ -122,7 +122,7 @@ function setInitialVersion() { return res.json(); }) .then(function(json) { - markedVersions['master'] = 'https://cdn.jsdelivr.net/gh/markedjs/marked@' + json[0].sha + '/lib/marked.js'; + markedVersions.master = 'https://cdn.jsdelivr.net/gh/markedjs/marked@' + json[0].sha + '/lib/marked.js'; }) .catch(function() { // do nothing diff --git a/test/.eslintrc.json b/test/.eslintrc.json index 9f03f420..96779e56 100644 --- a/test/.eslintrc.json +++ b/test/.eslintrc.json @@ -16,6 +16,7 @@ "no-useless-escape": "off", "one-var": "off", "no-control-regex": "off", + "no-prototype-builtins": "off", "prefer-const": "error", "no-var": "error"