Skip to content

Commit

Permalink
fix(bootstrap): don't try to load .envrc. fixes deluan#56
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Nov 8, 2019
1 parent e4ebf49 commit b372b57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/bootstrap/jsonToScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b372b57

Please sign in to comment.