Skip to content

Running eslint with this rule in gulp return Error: Cannot find module 'package.json' #1

@ohardy

Description

@ohardy

Looks like in get-package-json.js:

startPath = 'gulpfile.babel.js'
path.join('.', 'package.json'); => 'package.json'

So it try to require 'package.json' instead of './package.json'

Sorry no time today to do a pull request :(

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions