Running eslint only for srcf directory ? Or all files?
In lint
and lint:fix
, we run eslint only for src
directory.
During pre-commit hook, we run eslint for any changed js or ts file, which maybe even present outside src
. For example, currently, such files are -
types-overrides/
directory ts definition files
jest.config.js
file