Skip to content

Commit

Permalink
fix: prettier was not run during the commit (#2720)
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteMinds authored Jun 14, 2023
1 parent 476cd1c commit 861c272
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/neuron-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@
"registry": "https://registry.npmjs.org/"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"src/**/*.{js,cjs,mjs,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"src/**/*.{css,scss}": [
"prettier --write",
"git add"
]
},
"jest": {
Expand Down
3 changes: 2 additions & 1 deletion packages/neuron-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"rebuild:nativemodules": "electron-builder install-app-deps"
},
"lint-staged": {
"src/**/*.ts": [
"src/**/*.{js,cjs,mjs,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
Expand Down

2 comments on commit 861c272

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 5265617660

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 5265618905

Please sign in to comment.