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-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,
|
||||||
|
@ -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
1
test/.eslintrc.json
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user