diff --git a/package.json b/package.json index f8b3af006bdd82ce43c07be133e5b3d0b3cb04bc..932ea4ff78aef5e16db7181c3a9197b136a52121 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@simbathesailor/use-what-changed": "^2.0.0", "axios": "^0.27.0", "cozy-bar": "8.7.5", - "cozy-client": "32.2.0", + "cozy-client": "32.2.1", "cozy-device-helper": ">=2.1.0", "cozy-flags": ">2.8.6", "cozy-harvest-lib": "9.18.1", diff --git a/src/services/account.service.spec.ts b/src/services/account.service.spec.ts index 319d86144931e812fc47053dbcdfde031c945f3a..b2bb202c90164bc13b905d4c0c0cc0a27e7048c0 100644 --- a/src/services/account.service.spec.ts +++ b/src/services/account.service.spec.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/camelcase */ +/* eslint-disable camelcase */ import { QueryResult } from 'cozy-client' import { AccountAuthData, Account } from 'models' import mockClient from '../../tests/__mocks__/client' diff --git a/src/services/challenge.service.spec.ts b/src/services/challenge.service.spec.ts index da5d176ae51005990c9865d4fb1a9317f880e3b7..eaf3ac35baebcafb3bd7b9d87682fb46a824e466 100644 --- a/src/services/challenge.service.spec.ts +++ b/src/services/challenge.service.spec.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/camelcase */ +/* eslint-disable camelcase */ import { QueryResult } from 'cozy-client' import { DuelEntity, diff --git a/src/services/exploration.service.ts b/src/services/exploration.service.ts index 0fc57ff75717bb3f42daf238c84fef26c0446061..bd5dfa119cc753ac8dc680906c203317fabca346 100644 --- a/src/services/exploration.service.ts +++ b/src/services/exploration.service.ts @@ -72,6 +72,7 @@ export default class ExplorationService { explorationEntityList: ExplorationEntity[], searchId: string ): UserExploration { + /* eslint-disable camelcase */ let exploration: UserExploration = { id: '', state: UserExplorationState.UNLOCKED, @@ -85,6 +86,7 @@ export default class ExplorationService { progress: 0, message_success: '', } + /* eslint-enable camelcase */ if (explorationEntityList.length > 0) { const explorationEntityIndex = explorationEntityList.findIndex( entity => entity.id === searchId diff --git a/src/services/queryRunner.service.ts b/src/services/queryRunner.service.ts index 2a380c9cfbd6aa1ebd1f73f0d1f05647bbd8eabe..7a6ad0e4e6bdbd2787a33aab9f05a4ca14fe0a7c 100644 --- a/src/services/queryRunner.service.ts +++ b/src/services/queryRunner.service.ts @@ -23,12 +23,14 @@ import { DataloadState } from 'enum/dataload.enum' export default class QueryRunner { // TODO to be clean up + /* eslint-disable camelcase */ private readonly _max_limit = 1000 private readonly _default_months = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] private readonly _default_days = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, ] + /* eslint-enable camelcase */ private readonly _client: Client diff --git a/yarn.lock b/yarn.lock index 382a5b19fe6e47416cf2a1e7cd9c03ee95571ecc..50803fe15d18ca4cc638e9d277346270988b2250 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4981,10 +4981,10 @@ cozy-client@29.1.2: sift "^6.0.0" url-search-params-polyfill "^8.0.0" -cozy-client@32.2.0: - version "32.2.0" - resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-32.2.0.tgz#afc6e8d5204863da56c9c9034db7ca3b2f3192db" - integrity sha512-zLQxs+qEX37eIWGrsAOOqntnIrEVWN1VTPEZPE+CVW4bPrjHIRtlF4++08Qm3HWYmU906WMmNqOqvAZ1+chthw== +cozy-client@32.2.1: + version "32.2.1" + resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-32.2.1.tgz#f9f981febc4b20fd3652ab591d6c40612a95a94d" + integrity sha512-OjmMcgavxVFMYApdNU+20J5SPXCbBXYKZ10+RigfZBTYgHdxcW1YY/Dr6gfEGUIPo25ZiRoSKbqbwpML7VZ1sQ== dependencies: "@cozy/minilog" "1.0.0" "@types/jest" "^26.0.20" @@ -11172,9 +11172,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.6": +"mui-bottom-sheet@git+https://github.com/cozy/mui-bottom-sheet.git#v1.0.6": version "1.0.6" - resolved "https://github.com/cozy/mui-bottom-sheet.git#494c40416ecde95732c864f9b921e7e545075aa5" + resolved "git+https://github.com/cozy/mui-bottom-sheet.git#494c40416ecde95732c864f9b921e7e545075aa5" dependencies: "@juggle/resize-observer" "^3.1.3" jest-environment-jsdom-sixteen "^1.0.3"