-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Library
whole monorepo is affected
System Info
NAAre you reporting Accessibility issue?
no
Reproduction
- add
console.log('foo')to anyisConformant.tsfile - stage that file
git add yarn lint-staged --debugyarn workspace @flunetui/<your-package> lintto verify there is lint error
Bug Description
Actual Behavior
We invoke eslint within lint staged by calling this script 'node ./scripts/lint-staged/eslint'.
Turns out that doesn't work.
In last PR a lint error slipped through this check and I got error on CI:

lint-staged execution:
Expected Behavior
eslint should work on pre-commit
Logs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
