Skip to content

Commit

Permalink
fix eslint fn
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed May 18, 2023
1 parent 24052c5 commit 87513de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { findUp } = require('@redwoodjs/project-config')
// Framework Babel config is monorepo root ./babel.config.js
// `yarn lint` runs for each workspace, which needs findUp for path to root
const findBabelConfig = (cwd = process.cwd()) => {
const configPath = findUp('babel.config.js')
const configPath = findUp('babel.config.js', cwd)
if (!configPath) {
throw new Error(`Eslint-parser could not find a "babel.config.js" file`)
}
Expand Down

0 comments on commit 87513de

Please sign in to comment.