File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -97,3 +97,16 @@ files.
97
97
98
98
To upgrade Storybook when it informs you about new version being available, run
99
99
the given ` npx sb@latest upgrade ` command in ` apps/storybook ` directory.
100
+
101
+ ## pre-commit
102
+
103
+ [ Pre-commit] ( https://pre-commit.com/ ) enforces code style practices in this
104
+ project. Choose your preferred
105
+ [ installation method] ( https://pre-commit.com/#install ) and then run `pre-commit
106
+ install` to enable Git hook scripts. Pre-commit will now automatically cancel
107
+ your commits if any problems are detected, and autofix them. Stage the changed
108
+ files to your commit and re-run the commit command.
109
+
110
+ Pre-commit can be disabled for a single commit with ` --no-verify ` option, but
111
+ note that CI also runs pre-commit and will fail if any problems are encountered
112
+ at this stage.
You can’t perform that action at this time.
0 commit comments