mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-04-01 02:42:23 -05:00
fix(deps): update all linting dependencies (master) (#3296)
* fix(deps): update all linting dependencies * chore: fix lint Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Juan Picado <juanpicado19@gmail.com>
This commit is contained in:
parent
bbf897d05a
commit
04cc86374d
7 changed files with 406 additions and 435 deletions
10
package.json
10
package.json
|
@ -43,7 +43,7 @@
|
|||
"@changesets/cli": "2.15.0",
|
||||
"@changesets/get-dependents-graph": "1.3.3",
|
||||
"@crowdin/cli": "3.7.9",
|
||||
"@trivago/prettier-plugin-sort-imports": "3.2.0",
|
||||
"@trivago/prettier-plugin-sort-imports": "3.3.0",
|
||||
"@types/async": "3.2.15",
|
||||
"@types/autocannon": "4.1.1",
|
||||
"@types/express": "4.17.13",
|
||||
|
@ -62,8 +62,8 @@
|
|||
"@types/validator": "13.7.5",
|
||||
"@types/webpack": "5.28.0",
|
||||
"@types/webpack-env": "1.17.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.25.0",
|
||||
"@typescript-eslint/parser": "5.25.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.32.0",
|
||||
"@typescript-eslint/parser": "5.32.0",
|
||||
"@verdaccio/benchmark": "workspace:*",
|
||||
"@verdaccio/eslint-config": "workspace:*",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
|
@ -82,7 +82,7 @@
|
|||
"detect-secrets": "1.0.6",
|
||||
"pretty-format": "27.5.1",
|
||||
"jest-diff": "27.5.1",
|
||||
"eslint": "8.15.0",
|
||||
"eslint": "8.21.0",
|
||||
"fs-extra": "10.1.0",
|
||||
"husky": "7.0.4",
|
||||
"in-publish": "2.0.1",
|
||||
|
@ -97,7 +97,7 @@
|
|||
"node-fetch": "cjs",
|
||||
"nodemon": "2.0.19",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.6.2",
|
||||
"prettier": "2.7.1",
|
||||
"rimraf": "3.0.2",
|
||||
"selfsigned": "1.10.14",
|
||||
"supertest": "6.2.4",
|
||||
|
|
|
@ -74,11 +74,11 @@
|
|||
"raw-loader": "4.0.2",
|
||||
"msw": "0.44.2",
|
||||
"style-loader": "3.3.1",
|
||||
"stylelint": "14.8.2",
|
||||
"stylelint": "14.9.1",
|
||||
"stylelint-config-recommended": "7.0.0",
|
||||
"stylelint-config-styled-components": "0.1.1",
|
||||
"stylelint-processor-styled-components": "1.10.0",
|
||||
"stylelint-webpack-plugin": "3.2.0",
|
||||
"stylelint-webpack-plugin": "3.3.0",
|
||||
"supertest": "6.2.4",
|
||||
"terser-webpack-plugin": "5.3.3",
|
||||
"url-loader": "4.1.1",
|
||||
|
|
|
@ -424,6 +424,7 @@ class Storage {
|
|||
public async getTarballNext(name: string, filename: string, { signal }): Promise<PassThrough> {
|
||||
debug('get tarball for package %o filename %o', name, filename);
|
||||
// TODO: check if isOpen is need it after all.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
let isOpen = false;
|
||||
const localTarballStream = new PassThrough();
|
||||
const localStream = await this.getLocalTarball(name, filename, { signal });
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-babel": "5.3.1",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-jest": "26.2.2",
|
||||
"eslint-plugin-jsx-a11y": "6.5.1",
|
||||
"eslint-plugin-prettier": "4.0.0",
|
||||
"eslint-plugin-react": "7.30.0",
|
||||
"eslint-plugin-react-hooks": "4.5.0",
|
||||
"eslint-plugin-jest": "26.8.0",
|
||||
"eslint-plugin-jsx-a11y": "6.6.1",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"eslint-plugin-react": "7.30.1",
|
||||
"eslint-plugin-react-hooks": "4.6.0",
|
||||
"eslint-plugin-simple-import-sort": "7.0.0",
|
||||
"eslint-plugin-verdaccio": "10.0.0"
|
||||
},
|
||||
|
|
|
@ -11,6 +11,7 @@ module.exports = {
|
|||
'jest/no-try-expect': 0,
|
||||
'jest/no-done-callback': 'off',
|
||||
'jest/no-conditional-expect': 'off',
|
||||
'jest/valid-title': 'off',
|
||||
// rules to fix
|
||||
'jest/no-identical-title': ['warn'],
|
||||
'jest/no-disabled-tests': ['warn'],
|
||||
|
|
|
@ -69,8 +69,8 @@ describe('test web server', () => {
|
|||
);
|
||||
});
|
||||
|
||||
test.todo('test default title');
|
||||
test.todo('test need html cache');
|
||||
test.todo('should default title');
|
||||
test.todo('should need html cache');
|
||||
});
|
||||
|
||||
describe('status', () => {
|
||||
|
|
811
pnpm-lock.yaml
generated
811
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue