Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit df8fc8e

Browse files
committed
fix precommit hook, hardcoded commands failed due to lack of config
1 parent b17c2be commit df8fc8e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/configureStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function configureStore(initialState: RootState | {} = {}, histor
2222
// If Redux Dev Tools and Saga Dev Tools Extensions are installed, enable them
2323
/* istanbul ignore next */
2424
if (process.env.NODE_ENV !== 'production' && typeof window === 'object') {
25-
enhancer = composeWithDevTools(enhancer)
25+
enhancer = composeWithDevTools(enhancer);
2626
}
2727

2828
// NOTE: Uncomment the code below to restore support for Redux Saga

internals/templates/configureStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function configureStore(initialState: RootState | {} = {}, histor
2323
// If Redux Dev Tools and Saga Dev Tools Extensions are installed, enable them
2424
/* istanbul ignore next */
2525
if (process.env.NODE_ENV !== 'production' && typeof window === 'object') {
26-
enhancer = composeWithDevTools(enhancer)
26+
enhancer = composeWithDevTools(enhancer);
2727
}
2828

2929
// NOTE: Uncomment the code below to restore support for Redux Saga

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
},
6565
"husky": {
6666
"hooks": {
67-
"pre-commit": "tsc --noEmit && lint-staged"
67+
"pre-commit": "npm run lint:tslint"
6868
}
6969
},
7070
"resolutions": {

0 commit comments

Comments
 (0)