Library
whole monorepo is affected
System Info
Are you reporting Accessibility issue?
no
Reproduction
- add
console.log('foo') to any isConformant.ts file
- stage that file
git add
yarn lint-staged --debug
yarn workspace @flunetui/<your-package> lint to 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
Library
whole monorepo is affected
System Info
Are you reporting Accessibility issue?
no
Reproduction
console.log('foo')to anyisConformant.tsfilegit addyarn lint-staged --debugyarn workspace @flunetui/<your-package> lintto verify there is lint errorBug 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