I wonder how to best execute lint-staged on files outside of the packages? E.g. for running prettier on the root package.json. I guess it would be best to put the lint-staged config to the root package.json and use exclude glob patterns to exclude the lerna packages folder?
I wonder how to best execute lint-staged on files outside of the packages? E.g. for running
prettier
on the rootpackage.json
. I guess it would be best to put the lint-staged config to the root package.json and use exclude glob patterns to exclude the lerna packages folder?