update eslint config to fix new standards

This commit is contained in:
Tony Brix 2019-08-27 13:22:54 -05:00
parent a74c8db780
commit 46e3b17dde
3 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,8 @@
"no-cond-assign": "off", "no-cond-assign": "off",
"no-useless-escape": "off", "no-useless-escape": "off",
"one-var": "off", "one-var": "off",
"no-control-regex": "off" "no-control-regex": "off",
"no-prototype-builtins": "off"
}, },
"env": { "env": {
"node": true, "node": true,

View File

@ -122,7 +122,7 @@ function setInitialVersion() {
return res.json(); return res.json();
}) })
.then(function(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() { .catch(function() {
// do nothing // do nothing

1
test/.eslintrc.json vendored
View File

@ -16,6 +16,7 @@
"no-useless-escape": "off", "no-useless-escape": "off",
"one-var": "off", "one-var": "off",
"no-control-regex": "off", "no-control-regex": "off",
"no-prototype-builtins": "off",
"prefer-const": "error", "prefer-const": "error",
"no-var": "error" "no-var": "error"