Update ESLint to v6 (#6364)

This commit is contained in:
fisker Cheung authored and Lipis committed 2019-08-08 13:21:32 +03:00
1 parent 7d0175ca90
commit 0e77cd3d33
4 files changed
+173 -90

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ function resolveParser(opts, parsers) {
}
if (typeof opts.parser === "string") {
if (parsers.hasOwnProperty(opts.parser)) {
if (Object.prototype.hasOwnProperty.call(parsers, opts.parser)) {
return parsers[opts.parser];
}