cozy / cozy-drive

Cozy Drive Web App for Cozy Cloud
GNU Affero General Public License v3.0
169 stars 65 forks source link

[VO-266] feat: Update eslint-config-cozy-app from 4.0.0 to 6.1.0 #3048

Closed cballevre closed 8 months ago

cballevre commented 8 months ago

The major benefit of this update is automatic import ordering. eslint-config-cozy-app doesn't handle import/order for aliases, so I put a custom configuration in Drive. @acezard if you have a better idea for the override I'd be interested

### 🔧 Tech

* Update eslint-config-cozy-app from 4.0.0 to 6.1.0

Remaining work :

cballevre commented 8 months ago

@acezard I worked on it again at the start of the week but I'm getting the same errors. I'll let you have a look if you have a bit of time

> TrashFolderView › should contain breadcrumb with root path
    This test called the console which is forbidden.
    Here is what have been logged:
    console.error
      Error: Uncaught [TypeError: (0 , _cozyKeysLib.useVaultClient) is not a function]
bundlemon[bot] commented 8 months ago

BundleMon

Files updated (8) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | vendors/drive.(hash).js
| 1.54MB (+8.85KB +0.56%) | 2MB :white_check_mark: | public/drive.(hash).js
| 1.33MB (+7.86KB +0.58%) | 1.7MB :white_check_mark: | services/qualificationMigration/drive.js
| 259.84KB (+4.76KB +1.87%) | 500KB :white_check_mark: | services/dacc/drive.js
| 265.58KB (+4.58KB +1.76%) | 500KB :white_check_mark: | public/drive.(hash).min.css
| 77.51KB (+1.4KB +1.85%) | 100KB :white_check_mark: | app/drive.(hash).js
| 164.86KB (+461B +0.27%) | 300KB :white_check_mark: | intents/drive.(hash).js
| 103.27KB (+109B +0.1%) | 190KB :white_check_mark: | app-drive.(hash).min.css
| 37.26KB (-38B -0.1%) | 56KB
Unchanged files (10) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | public/pdf.worker.entry.(hash).worker.js
| 343.61KB | 345KB :white_check_mark: | public/cozy-client-js.js
| 158.97KB | 160KB :white_check_mark: | intents-drive.(hash).min.css
| 34.9KB | 40KB :white_check_mark: | onlyOffice/slide.pptx
| 24.82KB | 25KB :white_check_mark: | onlyOffice/text.docx
| 5.84KB | 6KB :white_check_mark: | onlyOffice/spreadsheet.xlsx
| 5.01KB | 6KB :white_check_mark: | manifest.webapp
| 1.9KB | 2KB :white_check_mark: | index.html
| 548B | 1KB :white_check_mark: | intents/index.html
| 504B | 1KB :white_check_mark: | manifest.json
| 184B | 1KB

Total files change +27.98KB +0.64%

Groups updated (5) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | services/**
| 525.42KB (+9.34KB +1.81%) | - :white_check_mark: | public/**
| 1.91MB (+9.27KB +0.48%) | - :white_check_mark: | vendors/**
| 1.54MB (+8.85KB +0.56%) | - :white_check_mark: | app/**
| 164.86KB (+461B +0.27%) | - :white_check_mark: | intents/**
| 103.77KB (+111B +0.1%) | -
Unchanged groups (2) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | onlyOffice/**
| 35.68KB | - :white_check_mark: | img/**
| 3.41KB | -

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history | Target branch size history