From b372b57254ca8e34714a728806a0f405601f50b0 Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 8 Nov 2019 14:31:55 -0500 Subject: [PATCH] fix(bootstrap): don't try to load `.envrc`. fixes #56 --- lib/bootstrap/jsonToScript.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/bootstrap/jsonToScript.js b/lib/bootstrap/jsonToScript.js index aeb8357..5630816 100644 --- a/lib/bootstrap/jsonToScript.js +++ b/lib/bootstrap/jsonToScript.js @@ -66,7 +66,11 @@ const restructureContentTypeJson = item => ({ const jsonToScript = (contentTypeJson, editorInterface) => { const restructuredJson = restructureContentTypeJson(contentTypeJson) const unformattedScript = createScript(restructuredJson, editorInterface) - const engine = new eslint.CLIEngine({ fix: true, baseConfig: { extends: ['eslint-config-standard'] } }) + const engine = new eslint.CLIEngine({ + fix: true, + baseConfig: { extends: ['eslint-config-standard'] }, + useEslintrc: false + }) return engine.executeOnText(unformattedScript).results[0].output }