mirror of
https://github.com/markedjs/marked
synced 2024-11-22 17:37:24 +00:00
update eslint config to fix new standards
This commit is contained in:
parent
a74c8db780
commit
46e3b17dde
@ -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,
|
||||
|
@ -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
|
||||
|
1
test/.eslintrc.json
vendored
1
test/.eslintrc.json
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user