This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Eslint should ignore parent .eslintrc configuration #7148
Labels
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
Eslint uses both the parent and the current repo's eslint config file.
Similiar issue woocommerce/woocommerce-gateway-stripe#2413
To reproduce
woopay
docker instancewoocommerce-blocks
plugin towoopay/docker/wordpress/wp-content/plugins/woocommerce-blocks
npx eslint --debug .eslintrc.js
to see eslint is using the config file fromwoopay
Expected behavior
woocommerce-blocks
should use its own eslint config fileThe text was updated successfully, but these errors were encountered: