-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Is your feature request related to a problem? Please describe.
It seems like we should be able to run any arbitrary shell command within the lintCommand.
Describe the solution you'd like
I recently converted all my JS modules to live within a PNPM workspace, and I now have a single flat eslint config at the root level of the workspace. This plugin runs on my frontend code, which lives in workspace/apps/frontend. It seems like I should be able to set lintCommand: 'pnpm -w lint' to run the workspace's lint npm script.
Describe alternatives you've considered
I've tried setting a relative path for root: '../..'. I've tried setting lintCommand: 'eslint -c ../../eslint.config.js'.
Additional context
No response
Validations
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
No labels