sudo-suhas/lint-staged-multi-pkg

Execute lint-staged for files outside of packages

fabb opened this issue · 1 comments

fabb commented

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?