Skip to content

Commit

Permalink
#1852 Try to configure pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
porcelain11 committed Nov 29, 2022
1 parent 612fff2 commit bf18707
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"scripts": {
"postinstall": "husky install",
"precommit": "lint-staged --allow-empty",
"precommit": "yarn workspaces foreach -pv run prettier:write lint-staged --allow-empty",
"prepush": "yarn workspaces foreach -pv run test:eslint",
"build": "yarn workspaces foreach -ptvR --from ketcher-react-app run build",
"build:demo": "yarn workspaces foreach -ptvR --from demo run build",
Expand Down Expand Up @@ -39,5 +39,10 @@
"resolutions": {
"react-error-overlay": "6.0.9"
},
"husky": {
"hooks": {
"pre-commit": "yarn workspaces foreach -pv run prettier:write lint-staged --allow-empty"
}
},
"packageManager": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,14 @@ const MiewDialog = ({
</button>
]}
footerContent={<FooterContent />}
className={classes.miewDialog}>
className={classes.miewDialog}
>
<div>
<div
className={`${classes.miewContainer} ${
miewTheme === 'dark' ? classes.miewDarkTheme : ''
}`}>
}`}
>
<Viewer onInit={onMiewInit} />
</div>
</div>
Expand Down

0 comments on commit bf18707

Please sign in to comment.