Update to @balena/lint 5.x

Change-type: patch
This commit is contained in:
Pagan Gazzard
2020-05-15 12:01:51 +01:00
parent e9728f7c2d
commit 758f3caa48
76 changed files with 1379 additions and 2634 deletions

View File

@ -4,6 +4,6 @@
// Also, JSONStream starts a pipe between stdin and stdout if module.parent is undefined.
// This pipe can fail throwing an uncaught exception, so we fake a module.parent to prevent this.
// See https://github.com/dominictarr/JSONStream/issues/129
module.exports = function(source) {
module.exports = function (source) {
return 'module.parent = {};\n' + source.toString().replace(/^#! .*\n/, '');
};