6

I already have a pre-commit hook in my project, but I want to force all people in my project to use it. For that purpose, I want to write a flutter library for creating files in a flutter project directory(like a husky in js world)! All that I have searched are about widgets libraries and so on!

I know that in js libraries in package.json there is a script object with install property. In this property, anybody can write to run a script. Is there an opportunity to do the same thing in dart or flutter?

no_fate
  • 1,625
  • 14
  • 22
  • 1
    This should definitely be re-opened, given that the updates have made this question really relevant – Guilherme Matuella Dec 13 '19 at 12:16
  • @GuilhermeMatuella can I do it by my own? – no_fate Dec 13 '19 at 12:18
  • I think you can ask for moderator intervention, but I have never done that before. I've flagged it and asked for a moderator to re-open this one with due context - as it is really relevant. – Guilherme Matuella Dec 13 '19 at 14:52
  • @GuilhermeMatuella you can help to reopen this question. Near with "share", "edit", "delete" buttons there is also the "reopen" button. > When a question reaches 5 reopen votes, it is no longer closed, and new answers may be submitted. – no_fate Dec 17 '19 at 13:40
  • I think I don't have enough reputation :( But good news: https://meta.stackoverflow.com/questions/391832/we-re-lowering-the-close-reopen-vote-threshold-from-5-to-3-for-good?cb=1 – Guilherme Matuella Dec 17 '19 at 14:43
  • Voted to re-open aswell. – Mark Mooibroek Apr 30 '20 at 15:22

0 Answers0