Skip to content

Commit

Permalink
refactor: Remove lint warning on watch
Browse files Browse the repository at this point in the history
For react-pdf, we use the same version as cozy-viewer
  • Loading branch information
JF-Cozy committed Dec 16, 2024
1 parent aeeedf9 commit 4bf8106
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"cozy-scripts": "^8.3.0",
"cozy-sharing": "^16.17.0",
"cozy-stack-client": "^51.6.0",
"cozy-ui": "^114.0.0",
"cozy-ui": "^114.0.1",
"cozy-viewer": "^9.0.1",
"date-fns": "1.30.1",
"diacritics": "1.3.0",
Expand All @@ -117,6 +117,7 @@
"react-hot-loader": "4.13.1",
"react-inspector": "5.1.1",
"react-measure": "2.5.0",
"react-pdf": "^5.7.2",
"react-redux": "7.2.0",
"react-remove-scroll": "2.4.4",
"react-router-dom": "6.14.2",
Expand Down
1 change: 1 addition & 0 deletions src/modules/search/components/BarSearchAutosuggest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const BarSearchAutosuggest = ({ t }) => {
window.location.assign(url)
}
} else {
// eslint-disable-next-line no-console
console.error(`openSuggestion (${suggestion.name}) could not be executed`)
}
cleanSearch()
Expand Down
1 change: 1 addition & 0 deletions src/modules/views/Search/SearchView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const SearchView = () => {
window.location.assign(url)
}
} else {
// eslint-disable-next-line no-console
console.error(
`openSuggestion (${suggestion.name}) could not be executed`
)
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6617,10 +6617,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/cozy-tsconfig/-/cozy-tsconfig-1.2.0.tgz#17e61f960f139fae4d26cbac2254b9ab632b269e"
integrity sha512-TRHnY9goF3FzVlUbP7BcHxuN2XAA4AmppT4fHHZmTKaSwYTByVR1Al+riFMDbce94kJZ1wzl9WNLWQuqzGZ6Cw==

cozy-ui@^114.0.0:
version "114.0.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-114.0.0.tgz#2eafa3fe2dacf94049d21e7afaa1f52be1737db7"
integrity sha512-ndpGSVS6IQy3U3vtaDFxqpVDyXOG4bV9vyuRzj0XRZN4MbeATtkqSTYnV+O1RkZVIJ3GvcFT8ohgoVMGSxbL7w==
cozy-ui@^114.0.1:
version "114.0.1"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-114.0.1.tgz#c3321fbb3272868d50d32dae1792a5668d06bb7f"
integrity sha512-uq0SnZrUPMTya5NiRHxo9qVU/8s59RpO4M1S5w6oglChO+CZSavNi69FNi/bYaBtzrULEXyeXt1QDdRMgRP7gg==
dependencies:
"@babel/runtime" "^7.3.4"
"@material-ui/core" "4.12.3"
Expand Down Expand Up @@ -12964,9 +12964,9 @@ msgpack5@^4.0.2:
readable-stream "^2.3.6"
safe-buffer "^5.1.2"

"mui-bottom-sheet@https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
"mui-bottom-sheet@git+https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
version "1.0.8"
resolved "https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
resolved "git+https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
dependencies:
"@juggle/resize-observer" "^3.1.3"
jest-environment-jsdom-sixteen "^1.0.3"
Expand Down

0 comments on commit 4bf8106

Please sign in to comment.