Skip to content

Commit

Permalink
fix: support globalsPropValue: false correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Aug 9, 2023
1 parent c2a948f commit 742a68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/eslintrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function generateESLintConfigs(
.filter(Boolean)
.sort()
.forEach((name) => {
eslintConfigs.globals[name] = eslintrc.globalsPropValue || true
eslintConfigs.globals[name] = eslintrc.globalsPropValue
})
const jsonBody = JSON.stringify(eslintConfigs, null, 2)
return jsonBody
Expand Down

0 comments on commit 742a68a

Please sign in to comment.